Skip to content

Commit 7f70d3e

Browse files
committed
Expand test cases for cross-workbook jobs and remove many warnings
1 parent de2e4df commit 7f70d3e

File tree

3 files changed

+264
-358
lines changed

3 files changed

+264
-358
lines changed

SequenceAnalysis/src/org/labkey/sequenceanalysis/OutputIntegrationTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ private int createTestVcf(int genomeId, File vcf)
221221
writer.add(vcb.make());
222222
}
223223

224-
ExpData d = createExpData(vcf);
224+
ExpData d = createExpData(vcf, _project);
225225
Map<String, Object> params = new CaseInsensitiveHashMap<>();
226226
params.put("name", "TestVcf");
227227
params.put("description", "Description");

SequenceAnalysis/src/org/labkey/sequenceanalysis/SequenceAnalysisController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1924,7 +1924,7 @@ else if (o.has("relPath") || o.has("fileName"))
19241924

19251925
if (f == null || !f.exists())
19261926
{
1927-
throw new PipelineValidationException("Unknown file: " + o.getString("relPath") + " / " + o.getString("fileName"));
1927+
throw new PipelineValidationException("Unknown file: " + o.optString("relPath") + " / " + o.optString("fileName"));
19281928
}
19291929

19301930
ret.add(f.toNioPathForRead().toFile());

0 commit comments

Comments
 (0)