sty: line length
@@ -499,7 +499,9 @@ def medial_wall_to_nan(in_file, subjects_dir, den=None, newpath=None):
medial = np.delete(np.arange(len(func.darrays[0].data)), cortex)
elif target_subject == 'fslr' and den is not None:
hemi = 'L' if fn[:2] == 'lh' else 'R'
- label_file = str(tf.get('fsLR', hemi=hemi, desc='nomedialwall', density=den, suffix='dparc'))
+ label_file = str(
+ tf.get('fsLR', hemi=hemi, desc='nomedialwall', density=den, suffix='dparc')
+ )
label = nb.load(label_file)
medial = np.invert(label.darrays[0].data.astype(bool))
else:
