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 5d98758 commit fc51e76Copy full SHA for fc51e76
nibabel/streamlines/tractogram.py
@@ -138,8 +138,8 @@ def extend(self, other):
138
-----
139
The keys in both dictionaries must be the same.
140
"""
141
- if (len(self) > 0 and len(other) > 0
142
- and sorted(self.keys()) != sorted(other.keys())):
+ if (len(self) > 0 and len(other) > 0 and
+ sorted(self.keys()) != sorted(other.keys())):
143
msg = ("Entry mismatched between the two PerArrayDict objects."
144
" This PerArrayDict contains '{0}' whereas the other "
145
" contains '{1}'.").format(sorted(self.keys()),
0 commit comments