Skip to content

Commit 9072313

Browse files
Michiel CottaarMichiel Cottaar
authored andcommitted
Fixed style errors
1 parent a1bfa76 commit 9072313

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

nibabel/cifti2/cifti2.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1463,9 +1463,10 @@ def to_file_map(self, file_map=None):
14631463
extension = Cifti2Extension(content=self.header.to_xml())
14641464
header.extensions.append(extension)
14651465
if header.get_data_shape() != self.header.matrix.get_data_shape():
1466-
raise ValueError("Dataobj shape {} does not match shape expected from CIFTI-2 header {}".format(
1467-
self._dataobj.shape, self.header.matrix.get_data_shape()
1468-
))
1466+
raise ValueError(
1467+
"Dataobj shape {} does not match shape expected from CIFTI-2 header {}".format(
1468+
self._dataobj.shape, self.header.matrix.get_data_shape()
1469+
))
14691470
# if intent code is not set, default to unknown CIFTI
14701471
if header.get_intent()[0] == 'none':
14711472
header.set_intent('NIFTI_INTENT_CONNECTIVITY_UNKNOWN')

0 commit comments

Comments
 (0)