Skip to content

Commit 3c63562

Browse files
committed
stripped out workflow code
1 parent f8de6fa commit 3c63562

File tree

8 files changed

+1
-381
lines changed

8 files changed

+1
-381
lines changed

example-specs/workflow/dmriprep.yaml

Lines changed: 0 additions & 62 deletions
This file was deleted.

example-specs/workflow/fmriprep.yaml

Lines changed: 0 additions & 62 deletions
This file was deleted.

example-specs/workflow/qsiprep.yaml

Lines changed: 0 additions & 59 deletions
This file was deleted.

example-specs/workflow/smriprep.yaml

Lines changed: 0 additions & 38 deletions
This file was deleted.

nipype2pydra/cli.py

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
import yaml
44
from nipype2pydra import __version__
55
import nipype2pydra.task
6-
from .workflow import WorkflowConverter
76

87

98
# Define the base CLI entrypoint
@@ -52,15 +51,3 @@ def task(yaml_spec, package_root, callables, output_module):
5251
output_module=output_module, callables_module=callables, **spec
5352
)
5453
converter.generate(package_root)
55-
56-
57-
@cli.command(help="Port Nipype workflow creation functions to Pydra")
58-
@click.argument("yaml-spec", type=click.File())
59-
@click.argument("output_file", type=click.Path(path_type=Path))
60-
def workflow(yaml_spec, output_file):
61-
62-
spec = yaml.safe_load(yaml_spec)
63-
64-
converter = WorkflowConverter(spec)
65-
out_str = converter.generate()
66-
output_file.write_text(out_str)

nipype2pydra/workflow.py

Lines changed: 0 additions & 114 deletions
This file was deleted.

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ test = [
6060
"pytest-env>=0.6.2",
6161
"pytest-cov>=2.12.1",
6262
"fileformats-medimage-extras",
63+
"qsiprep",
6364
]
6465
docs = [
6566
"packaging",

0 commit comments

Comments
 (0)