Skip to content

Commit 40bd802

Browse files
committed
remove extra blank lines
1 parent 88feb32 commit 40bd802

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

nipype2pydra/task.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
from pydra.engine.helpers import ensure_list
1414
from .utils import import_module_from_path
1515

16-
1716
@attrs.define
1817
class TaskConverter:
1918

@@ -326,7 +325,6 @@ def types_to_names(spec_fields):
326325
spec_str += f"{self.task_name}_input_spec = specs.SpecInfo(name='Input', fields=input_fields, bases=(specs.ShellSpec,))\n\n"
327326
spec_str += f"output_fields = {output_fields_str}\n"
328327
spec_str += f"{self.task_name}_output_spec = specs.SpecInfo(name='Output', fields=output_fields, bases=(specs.ShellOutSpec,))\n\n"
329-
330328
spec_str += f"class {self.task_name}(ShellCommandTask):\n"
331329
if self.doctest:
332330
spec_str += self.create_doctest()
@@ -415,7 +413,6 @@ def write_test_error(self, input_error):
415413
spec_str += f" task = {self.task_name}(in_file=in_file, **inputs)\n"
416414
spec_str += " with pytest.raises(eval(error)):\n"
417415
spec_str += " task.generated_output_names\n"
418-
419416
return spec_str
420417

421418
def create_doctest(self):
@@ -471,4 +468,4 @@ def create_doctest(self):
471468
("'TYPE_MultiOutputObj'", "specs.MultiOutputObj"),
472469
("'TYPE_MultiInputFile'", "specs.MultiInputFile"),
473470
("'TYPE_MultiOutputFile'", "specs.MultiOutputFile"),
474-
]
471+
]

0 commit comments

Comments
 (0)