We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89dabaf commit 8a41145Copy full SHA for 8a41145
nibabel/streamlines/tractogram.py
@@ -16,7 +16,7 @@ def is_data_dict(obj):
16
17
def is_lazy_dict(obj):
18
""" True if `obj` seems to implement the :class:`LazyDict` API """
19
- return is_data_dict(obj) and callable(obj.store.values()[0])
+ return is_data_dict(obj) and callable(list(obj.store.values())[0])
20
21
22
class SliceableDataDict(collections.MutableMapping):
0 commit comments