Skip to content

Commit

Permalink
remove unused max annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
fcollman committed Feb 4, 2024
1 parent 8f08c24 commit f147932
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions python/neuroglancer/write_annotations.py
Original file line number Diff line number Diff line change
Expand Up @@ -462,11 +462,6 @@ def write(self, path: Union[str, pathlib.Path]):
(self.upper_bound - self.lower_bound) / self.chunk_size
).astype(int)

# find the maximum number of annotations in any chunk
max_annotations = max(
len(annotations) for annotations in self.annotations_by_chunk.values()
)

# make directories
os.makedirs(path, exist_ok=True)
for relationship in self.relationships:
Expand Down

0 comments on commit f147932

Please sign in to comment.