You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ctx.getJob().getLogger().debug("Reads in " + files.first.getName() + ": " + lines1);
391
-
if (lines1 != accessionToReads.get(accession))
404
+
if (accessionToReads.containsKey(accession) && lines1 != accessionToReads.get(accession))
392
405
{
393
406
thrownewPipelineJobException("Reads found in file, " + lines1 + ", does not match expected: " + accessionToReads.get(accession) + " for file: " + files.first.getPath());
394
407
}
@@ -397,7 +410,7 @@ public void processFilesRemote(List<Readset> readsets, JobContext ctx) throws Un
ctx.getJob().getLogger().debug("Reads in " + files.second.getName() + ": " + lines2);
400
-
if (lines2 != accessionToReads.get(accession))
413
+
if (accessionToReads.containsKey(accession) && lines2 != accessionToReads.get(accession))
401
414
{
402
415
thrownewPipelineJobException("Reads found in file, " + lines2 + ", does not match expected: " + accessionToReads.get(accession) + " for file: " + files.second.getPath());
0 commit comments