Skip to content

Commit

Permalink
Fix flake8 errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ctrueden committed Aug 1, 2023
1 parent 9178633 commit f47f98c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/imagej/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1430,7 +1430,6 @@ def _create_jvm(
# Add additional ImageJ endpoints specific to PyImageJ.

# Try to glean the needed ImageJ2 version.
ij_version = []
for coord in sj.config.endpoints:
if not re.match("(net.imagej:imagej|sc.fiji:fiji)(:|$)", coord):
# not an ImageJ2 or Fiji coordinate.
Expand All @@ -1452,7 +1451,7 @@ def _create_jvm(
# Now some case logic to figure which scifio-labeling version to use.
scifio_labeling_version = None
if version == "RELEASE":
# Using latest release of ImageJ2; use latest release of scifio-labeling.
# Using newest ImageJ2, therefore also use newest scifio-labeling.
scifio_labeling_version = "RELEASE"
elif version.startswith("2."):
# For v2.10.0+, scifio-labeling is managed; before that, must hardcode.
Expand Down

0 comments on commit f47f98c

Please sign in to comment.