File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -1463,9 +1463,10 @@ def to_file_map(self, file_map=None):
1463
1463
extension = Cifti2Extension (content = self .header .to_xml ())
1464
1464
header .extensions .append (extension )
1465
1465
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
+ ))
1469
1470
# if intent code is not set, default to unknown CIFTI
1470
1471
if header .get_intent ()[0 ] == 'none' :
1471
1472
header .set_intent ('NIFTI_INTENT_CONNECTIVITY_UNKNOWN' )
You can’t perform that action at this time.
0 commit comments