@@ -238,10 +238,10 @@ def __attrs_post_init__(self):
238238 'specification.' % self .spec ['volspace' ]
239239 )
240240
241- if str (self .spec [" volcohort" ]) not in _cohorts :
241+ if str (self .spec [' volcohort' ]) not in _cohorts :
242242 raise ValueError (
243243 'standard space "%s" does not contain any cohort '
244- 'named "%s".' % (self .spec [" volspace" ], self .spec [" volcohort" ])
244+ 'named "%s".' % (self .spec [' volspace' ], self .spec [' volcohort' ])
245245 )
246246 elif _cohorts :
247247 _cohorts = ', ' .join (['"cohort-%s"' % c for c in _cohorts ])
@@ -267,12 +267,12 @@ def fullname(self):
267267 name = self .space
268268
269269 if 'cohort' in self .spec :
270- name += f':cohort-{ self .spec [' cohort' ]} '
270+ name += f':cohort-{ self .spec [" cohort" ]} '
271271
272272 if 'volspace' in self .spec :
273- name += f'::{ self .spec [' volspace' ]} '
273+ name += f'::{ self .spec [" volspace" ]} '
274274 if 'volcohort' in self .spec :
275- name += f':cohort-{ self .spec [' volcohort' ]} '
275+ name += f':cohort-{ self .spec [" volcohort" ]} '
276276
277277 return name
278278
@@ -732,7 +732,7 @@ def get_standard(self, full_spec=False, dim=(2, 3), cifti=(True, False)):
732732 if not full_spec :
733733 return out
734734
735- out = [s for s in out if hasspec (" res" , s .spec ) or hasspec (" den" , s .spec )]
735+ out = [s for s in out if hasspec (' res' , s .spec ) or hasspec (' den' , s .spec )]
736736 return out
737737
738738 def get_nonstandard (self , full_spec = False , dim = (2 , 3 ), cifti = (True , False )):
0 commit comments