Skip to content

Commit 31629fd

Browse files
committed
Bugfix to SRA download with multiple file pairs
1 parent 696619e commit 31629fd

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

SequenceAnalysis/src/org/labkey/sequenceanalysis/pipeline/SequenceAlignmentTask.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1977,8 +1977,10 @@ else if (sraIDs.contains(rd.getSra_accession()))
19771977
}
19781978
});
19791979
}
1980-
1981-
outDir.mkdirs();
1980+
else
1981+
{
1982+
outDir.mkdirs();
1983+
}
19821984

19831985
Pair<File, File> downloaded = sra.downloadSra(rd.getSra_accession(), unzippedOutDir, rd.isPairedEnd());
19841986
File moved1 = new File(outDir, downloaded.first.getName());

0 commit comments

Comments
 (0)