Skip to content

Commit

Permalink
fix constructor from_number bug of Precomputed Volume
Browse files Browse the repository at this point in the history
  • Loading branch information
xiuliren committed Dec 8, 2023
1 parent f26c0b8 commit 8f945a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chunkflow/volume.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def from_cloudvolume_path(cls, path: str, *arg,
@classmethod
def from_numpy(cls, arr: np.ndarray, vol_path: str) -> PrecomputedVolume:
vol = CloudVolume.from_numpy(np.transpose(arr), vol_path=vol_path)
return cls(vol)
return cls(vol, filters=None)

@cached_property
def bounding_box(self):
Expand Down

0 comments on commit 8f945a1

Please sign in to comment.