Skip to content

Commit

Permalink
lib: fix gene downloader for RefSeq files, #TASK-5575, #TASK-5564
Browse files Browse the repository at this point in the history
  • Loading branch information
jtarraga committed Jul 29, 2024
1 parent 039aa81 commit 7f77dec
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ private List<DownloadFile> downloadRefSeq(Path refSeqDownloadPath) throws IOExce
if (SpeciesUtils.hasData(configuration, speciesConfiguration.getScientificName(), GENE_DATA)) {
// GTF, DNA, RNA, Protein
String prefixId = getConfigurationFileIdPrefix(speciesConfiguration.getScientificName());
if (configuration.getDownload().getGenomicSuperDups().getFiles().containsKey(prefixId + REFSEQ_GENOMIC_GTF_FILE_ID)
if (configuration.getDownload().getRefSeq().getFiles().containsKey(prefixId + REFSEQ_GENOMIC_GTF_FILE_ID)
&& !isAlreadyDownloaded(refSeqDownloadPath.resolve(getDataVersionFilename(REFSEQ_DATA)), getDataName(REFSEQ_DATA))) {
logger.info(CATEGORY_DOWNLOADING_LOG_MESSAGE, getDataName(REFSEQ_DATA), getDataCategory(REFSEQ_DATA));

Expand Down

0 comments on commit 7f77dec

Please sign in to comment.