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):
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' )
You can’t perform that action at this time.
0 commit comments