Skip to content

Commit b368868

Browse files
committed
Merge discvr-23.7 to develop
2 parents 8f2cb9d + b73cc7c commit b368868

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

SequenceAnalysis/src/org/labkey/sequenceanalysis/run/variant/SelectVariantsStep.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ public void doCache(PipelineJob job, Object value, SequenceAnalysisJobSupport su
217217
json = (JSONObject)value;
218218
}
219219

220-
if (json.get("fileId") != null)
220+
if (!json.isNull("fileId"))
221221
{
222222
ExpData d = ExperimentService.get().getExpData(json.getInt("fileId"));
223223
if (d != null)
@@ -241,7 +241,7 @@ public static List<String> getIntervalOptions(String intervalText, SequenceAnaly
241241
throw new PipelineJobException("Improper interval data: " + intervalText);
242242
}
243243

244-
if (intervalJson.get("fileId") != null)
244+
if (!intervalJson.isNull("fileId"))
245245
{
246246
File d = support.getCachedData(intervalJson.getInt("fileId"));
247247
if (d.exists())
@@ -254,7 +254,7 @@ public static List<String> getIntervalOptions(String intervalText, SequenceAnaly
254254
throw new PipelineJobException("Unable to find file: " + d.getPath());
255255
}
256256
}
257-
else if (intervalJson.get("intervals") != null)
257+
else if (!intervalJson.isNull("intervals"))
258258
{
259259
String[] intervals = intervalJson.getString("intervals").split(";");
260260
for (String i : intervals)

0 commit comments

Comments
 (0)