Skip to content

Commit

Permalink
Fix os.path.join call
Browse files Browse the repository at this point in the history
This call prevents nearly all data translation when using a
directory-based endpoint (i.e. not maven coordinates), because the
converter executing the problematic call is of very high priority.
  • Loading branch information
gselzer committed Nov 8, 2024
1 parent e2a9325 commit d9fc267
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/napari_imagej/types/converters/trackmate.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def trackmate_present():
return True
# Step 2 - check the jar directory
elif isdir(join(endpoint, "jars")):
for fname in listdir(join([endpoint, "jars"])):
for fname in listdir(join(endpoint, "jars")):
if match("TrackMate-\d.*\.jar", fname): # noqa
return True
return False
Expand Down

0 comments on commit d9fc267

Please sign in to comment.