You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think neuroglancer might have refactored their code and now trying to pass a resolution argument like this viewer.add(output_view, resolution=[4, 4, 40], name="output") as shown in the README throws this error:
46 if voxel_size is None:
47 voxel_size = default_voxel_size
---> 48 self.volume = volume.ServedVolume(data=data, offset=offset, voxel_size=voxel_size, **kwargs)
49 self.name = name
50 extra_args = self.extra_args = dict()
TypeError: __init__() got an unexpected keyword argument 'resolution'
This: viewer.add(output_view, voxel_size=[4, 4, 40], name="output"), on the other hand, works perfectly.
Note: the voxel size dimension order is [x, y, z] unlike some datasets (cremi).
The text was updated successfully, but these errors were encountered:
I think neuroglancer might have refactored their code and now trying to pass a resolution argument like this
viewer.add(output_view, resolution=[4, 4, 40], name="output")
as shown in the README throws this error:This:
viewer.add(output_view, voxel_size=[4, 4, 40], name="output")
, on the other hand, works perfectly.Note: the voxel size dimension order is [x, y, z] unlike some datasets (cremi).
The text was updated successfully, but these errors were encountered: