Skip to content

Commit e3f56da

Browse files
committed
STY: black [ignore-rev]
1 parent abc2cd7 commit e3f56da

File tree

1 file changed

+15
-10
lines changed

1 file changed

+15
-10
lines changed

nipype/interfaces/freesurfer/petsurfer.py

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,9 @@ class GTMSegInputSpec(FSTraitedSpec):
5353
usedefault=True,
5454
)
5555

56-
upsampling_factor = traits.Int(argstr="--usf %i", desc="upsampling factor (default is 2)")
56+
upsampling_factor = traits.Int(
57+
argstr="--usf %i", desc="upsampling factor (default is 2)"
58+
)
5759

5860
subsegwm = traits.Bool(
5961
argstr="--subsegwm", desc="subsegment WM into lobes (default)"
@@ -139,7 +141,10 @@ class GTMSeg(FSCommand):
139141
def _list_outputs(self):
140142
outputs = self.output_spec().get()
141143
outputs['gtm_file'] = os.path.join(
142-
self.inputs.subjects_dir, self.inputs.subject_id, 'mri', self.inputs.out_file
144+
self.inputs.subjects_dir,
145+
self.inputs.subject_id,
146+
'mri',
147+
self.inputs.out_file,
143148
)
144149
return outputs
145150

@@ -167,7 +172,7 @@ class GTMPVCInputSpec(FSTraitedSpec):
167172
desc="segfile : anatomical segmentation to define regions for GTM",
168173
)
169174

170-
_reg_xor=["reg_file", "regheader", "reg_identity"]
175+
_reg_xor = ["reg_file", "regheader", "reg_identity"]
171176
reg_file = File(
172177
exists=True,
173178
argstr="--reg %s",
@@ -372,7 +377,11 @@ class GTMPVCInputSpec(FSTraitedSpec):
372377
)
373378

374379
opt_tol = traits.Tuple(
375-
traits.Int, traits.Float, traits.Float, argstr="--opt-tol %i %f %f", desc="n_iters_max ftol lin_min_tol : optimization parameters for adaptive gtm using fminsearch"
380+
traits.Int,
381+
traits.Float,
382+
traits.Float,
383+
argstr="--opt-tol %i %f %f",
384+
desc="n_iters_max ftol lin_min_tol : optimization parameters for adaptive gtm using fminsearch",
376385
)
377386

378387
opt_brain = traits.Bool(argstr="--opt-brain", desc="apply adaptive GTM")
@@ -420,15 +429,11 @@ class GTMPVCOutputSpec(TraitedSpec):
420429
mgx_gm = File(
421430
desc="All GM voxel-wise values corrected using the extended Muller-Gartner method",
422431
)
423-
rbv = File(
424-
desc="All GM voxel-wise values corrected using the RBV method"
425-
)
432+
rbv = File(desc="All GM voxel-wise values corrected using the RBV method")
426433
opt_params = File(
427434
desc="Optimal parameter estimates for the FWHM using adaptive GTM"
428435
)
429-
yhat0 = File(
430-
desc="4D PET file of signal estimate (yhat) after PVC (unsmoothed)"
431-
)
436+
yhat0 = File(desc="4D PET file of signal estimate (yhat) after PVC (unsmoothed)")
432437
yhat = File(
433438
desc="4D PET file of signal estimate (yhat) after PVC (smoothed with PSF)",
434439
)

0 commit comments

Comments
 (0)