Skip to content

Commit b3b9c4e

Browse files
committed
STY: black
1 parent a3ab853 commit b3b9c4e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+267
-375
lines changed

pydra/tasks/fsl/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,6 @@
77
"""
88

99
from ._version import get_versions
10+
1011
__version__ = get_versions()['version']
1112
del get_versions

pydra/tasks/fsl/conftest.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,19 @@
22
import shutil
33
from tempfile import mkdtemp
44
import pytest
5-
#import numpy
5+
6+
# import numpy
67
import py.path as pp
78

8-
NIPYPE_DATADIR = os.path.realpath(
9-
os.path.join(os.path.dirname(__file__), "tests/data")
10-
)
9+
NIPYPE_DATADIR = os.path.realpath(os.path.join(os.path.dirname(__file__), "tests/data"))
1110
temp_folder = mkdtemp()
1211
data_dir = os.path.join(temp_folder, "data")
1312
shutil.copytree(NIPYPE_DATADIR, data_dir)
1413

1514

1615
@pytest.fixture(autouse=True)
1716
def add_np(doctest_namespace):
18-
# doctest_namespace["np"] = numpy
17+
# doctest_namespace["np"] = numpy
1918
doctest_namespace["os"] = os
2019
doctest_namespace["pytest"] = pytest
2120
doctest_namespace["datadir"] = data_dir

pydra/tasks/fsl/preprocess/applywarp.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,9 +115,7 @@
115115
},
116116
),
117117
]
118-
ApplyWarp_input_spec = specs.SpecInfo(
119-
name="Input", fields=input_fields, bases=(specs.ShellSpec,)
120-
)
118+
ApplyWarp_input_spec = specs.SpecInfo(name="Input", fields=input_fields, bases=(specs.ShellSpec,))
121119

122120
output_fields = []
123121
ApplyWarp_output_spec = specs.SpecInfo(

pydra/tasks/fsl/preprocess/bet.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -183,9 +183,7 @@
183183
},
184184
),
185185
]
186-
BET_input_spec = specs.SpecInfo(
187-
name="Input", fields=input_fields, bases=(specs.ShellSpec,)
188-
)
186+
BET_input_spec = specs.SpecInfo(name="Input", fields=input_fields, bases=(specs.ShellSpec,))
189187

190188
output_fields = [
191189
(
@@ -288,9 +286,7 @@
288286
},
289287
),
290288
]
291-
BET_output_spec = specs.SpecInfo(
292-
name="Output", fields=output_fields, bases=(specs.ShellOutSpec,)
293-
)
289+
BET_output_spec = specs.SpecInfo(name="Output", fields=output_fields, bases=(specs.ShellOutSpec,))
294290

295291

296292
class BET(ShellCommandTask):

pydra/tasks/fsl/preprocess/fast.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -228,9 +228,7 @@ def FAST_output_nclass(field, in_files, nclasses, out_basename):
228228
{"help_string": "outputs individual probability maps", "argstr": "-p"},
229229
),
230230
]
231-
FAST_input_spec = specs.SpecInfo(
232-
name="Input", fields=input_fields, bases=(specs.ShellSpec,)
233-
)
231+
FAST_input_spec = specs.SpecInfo(name="Input", fields=input_fields, bases=(specs.ShellSpec,))
234232

235233
output_fields = [
236234
(
@@ -263,9 +261,7 @@ def FAST_output_nclass(field, in_files, nclasses, out_basename):
263261
{"requires": [("probability_maps", True)], "callable": "FAST_output_nclass"},
264262
),
265263
]
266-
FAST_output_spec = specs.SpecInfo(
267-
name="Output", fields=output_fields, bases=(specs.ShellOutSpec,)
268-
)
264+
FAST_output_spec = specs.SpecInfo(name="Output", fields=output_fields, bases=(specs.ShellOutSpec,))
269265

270266

271267
class FAST(ShellCommandTask):

pydra/tasks/fsl/preprocess/first.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,7 @@
8787
},
8888
),
8989
]
90-
FIRST_input_spec = specs.SpecInfo(
91-
name="Input", fields=input_fields, bases=(specs.ShellSpec,)
92-
)
90+
FIRST_input_spec = specs.SpecInfo(name="Input", fields=input_fields, bases=(specs.ShellSpec,))
9391

9492
output_fields = [
9593
(

pydra/tasks/fsl/preprocess/flirt.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -334,9 +334,7 @@
334334
{"help_string": "value of bbr slope", "argstr": "-bbrslope {bbrslope}"},
335335
),
336336
]
337-
FLIRT_input_spec = specs.SpecInfo(
338-
name="Input", fields=input_fields, bases=(specs.ShellSpec,)
339-
)
337+
FLIRT_input_spec = specs.SpecInfo(name="Input", fields=input_fields, bases=(specs.ShellSpec,))
340338

341339
output_fields = []
342340
FLIRT_output_spec = specs.SpecInfo(

pydra/tasks/fsl/preprocess/fnirt.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -351,9 +351,7 @@
351351
},
352352
),
353353
]
354-
FNIRT_input_spec = specs.SpecInfo(
355-
name="Input", fields=input_fields, bases=(specs.ShellSpec,)
356-
)
354+
FNIRT_input_spec = specs.SpecInfo(name="Input", fields=input_fields, bases=(specs.ShellSpec,))
357355

358356
output_fields = [
359357
(

pydra/tasks/fsl/preprocess/mcflirt.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -134,9 +134,7 @@
134134
},
135135
),
136136
]
137-
MCFLIRT_input_spec = specs.SpecInfo(
138-
name="Input", fields=input_fields, bases=(specs.ShellSpec,)
139-
)
137+
MCFLIRT_input_spec = specs.SpecInfo(name="Input", fields=input_fields, bases=(specs.ShellSpec,))
140138

141139
output_fields = [
142140
(

pydra/tasks/fsl/preprocess/prelude.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -141,9 +141,7 @@
141141
},
142142
),
143143
]
144-
PRELUDE_input_spec = specs.SpecInfo(
145-
name="Input", fields=input_fields, bases=(specs.ShellSpec,)
146-
)
144+
PRELUDE_input_spec = specs.SpecInfo(name="Input", fields=input_fields, bases=(specs.ShellSpec,))
147145

148146
output_fields = []
149147
PRELUDE_output_spec = specs.SpecInfo(

0 commit comments

Comments
 (0)