Skip to content

Commit 4a5aa5b

Browse files
committed
Reduce warnings
1 parent 8b2c512 commit 4a5aa5b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jbrowse/src/org/labkey/jbrowse/model/JsonFile.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -780,9 +780,9 @@ private JSONObject getTabixTrack(User u, Logger log, ExpData targetFile, Referen
780780
return null;
781781
}
782782

783-
if (!new File(targetFile.getFile() + ".tbi").exists())
783+
if (!new File(gzipped.getPath() + ".tbi").exists())
784784
{
785-
log.error("Track lacks an index: {}, expected: {}", getObjectId(), targetFile.getFile().getPath() + ".tbi");
785+
log.error("Track lacks an index: {}, expected: {}", getObjectId(), gzipped.getPath() + ".tbi");
786786
}
787787

788788
ret.put("adapter", new JSONObject(){{

0 commit comments

Comments
 (0)