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
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
Cell In[6], line 1
----> 1 ec.mapping
File ~/Git/ndcube/ndcube/extra_coords/extra_coords.py:264, in ExtraCoords.mapping(self)
261 # The mapping is from the array index (position in the list) to the
262 # pixel dimensions (numbers in the list)
263 lts = [list([lt[0]] if isinstance(lt[0], Integral) else lt[0]) for lt in self._lookup_tables]
--> 264 converter = partial(convert_between_array_and_pixel_axes, naxes=len(self._ndcube.shape))
265 pixel_indicies = [list(converter(np.array(ids))) for ids in lts]
266 return tuple(reduce(list.__add__, pixel_indicies))
AttributeError: 'NoneType' object has no attribute 'shape'
Screenshots
No response
System Details
No response
Installation method
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
I came across this due to this conversation. We should decide what we want the behaviour to be for a standalone
ExtraCoords
object.To Reproduce
Screenshots
No response
System Details
No response
Installation method
No response
The text was updated successfully, but these errors were encountered: