Skip to content

Commit 381cb0b

Browse files
committed
STY: Flake8
1 parent 22aad2e commit 381cb0b

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

Diff for: nibabies/interfaces/workbench.py

+7-6
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,8 @@ class VolumeAffineResampleInputSpec(CommandLineInputSpec):
149149
position=1,
150150
desc="a volume file in the volume space you want for the output",
151151
)
152-
method = traits.Enum("CUBIC", "ENCLOSING_VOXEL", "TRILINEAR",
152+
method = traits.Enum(
153+
"CUBIC", "ENCLOSING_VOXEL", "TRILINEAR",
153154
mandatory=True,
154155
argstr="%s",
155156
position=2,
@@ -170,22 +171,22 @@ class VolumeAffineResampleInputSpec(CommandLineInputSpec):
170171
argstr="-affine %s",
171172
position=4,
172173
desc="the affine file to apply",
173-
)
174+
)
174175
flirt = traits.Bool(
175176
argstr="-flirt %s %s",
176177
position=5,
177178
desc="Set ``True`` if ``affine`` is a FLIRT affine.",
178-
)
179+
)
179180
flirt_source_volume = File(
180181
exists=True,
181182
desc="the source volume used when generating the affine; defaults to in_file",
182183
requires=['flirt'],
183-
)
184+
)
184185
flirt_target_volume = File(
185186
exists=True,
186187
desc="the target volume used when generating the affine; defaults to volume_space",
187188
requires=['flirt'],
188-
)
189+
)
189190

190191

191192
class VolumeAffineResampleOutputSpec(TraitedSpec):
@@ -206,5 +207,5 @@ def _format_arg(self, opt, spec, val):
206207
val = (
207208
self.inputs.flirt_source_volume or self.inputs.in_file,
208209
self.inputs.flirt_target_volume or self.inputs.volume_space,
209-
)
210+
)
210211
return super()._format_arg(opt, spec, val)

0 commit comments

Comments
 (0)