File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
SequenceAnalysis/src/org/labkey/sequenceanalysis Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 1616import org .labkey .api .pipeline .TaskId ;
1717import org .labkey .api .pipeline .WorkDirectory ;
1818import org .labkey .api .reader .Readers ;
19+ import org .labkey .api .util .FileUtil ;
1920import org .labkey .api .writer .PrintWriters ;
2021import org .labkey .sequenceanalysis .pipeline .AlignmentInitTask ;
2122import org .labkey .sequenceanalysis .pipeline .PrepareAlignerIndexesTask ;
2223import org .labkey .sequenceanalysis .pipeline .SequenceAlignmentJob ;
23- import org .labkey .sequenceanalysis .pipeline .SequenceAlignmentTask ;
2424
2525import java .io .BufferedReader ;
2626import java .io .File ;
@@ -180,7 +180,8 @@ public void RunBwaRemote() throws Exception
180180 Assert .assertEquals ("Incorrect status" , PipelineJob .TaskStatus .complete , job2 .getActiveTaskStatus ());
181181 File workingFasta = job .getTargetGenome ().getWorkingFastaFile ();
182182 Assert .assertNotNull ("Genome FASTA not set" , workingFasta );
183- Assert .assertTrue ("Dictionary file not created" , new File (workingFasta .getPath () + ".dict" ).exists ());
183+ File dict = new File (workingFasta .getParentFile (), FileUtil .getBaseName (workingFasta .getName ()) + ".dict" );
184+ Assert .assertTrue ("Dictionary file not created, expected: " + dict .getPath (), dict .exists ());
184185 }
185186
186187 protected void executeJobRemote (File workDir , @ Nullable File jobJson ) throws IOException
You can’t perform that action at this time.
0 commit comments