Skip to content

Commit

Permalink
fix num_chunks
Browse files Browse the repository at this point in the history
  • Loading branch information
fcollman committed Feb 16, 2024
1 parent 667d203 commit cf5579e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/neuroglancer/write_annotations.py
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@ def write(self, path: Union[str, pathlib.Path]):
(self.upper_bound - self.lower_bound) / self.chunk_size
).astype(int)

np.maximum(num_chunks, np.full(num_chunks.shape, 1, dtype=int))
num_chunks = np.maximum(num_chunks, np.full(num_chunks.shape, 1, dtype=int))

# make directories
os.makedirs(path, exist_ok=True)
Expand Down

0 comments on commit cf5579e

Please sign in to comment.