Skip to content

Commit ebc5eec

Browse files
authored
Merge pull request #18 from nipype/workflow-src-conv
Workflow converter
2 parents 2af28d1 + 451b545 commit ebc5eec

File tree

792 files changed

+15642
-2746
lines changed

Some content is hidden

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

792 files changed

+15642
-2746
lines changed

.github/workflows/ci-cd.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,19 +49,19 @@ jobs:
4949
python-version: ${{ matrix.python-version }}
5050

5151
- name: Update build tools
52-
run: python3 -m pip install --upgrade pip setuptools wheel
52+
run: python3 -m pip install --break-system-packages --upgrade pip setuptools wheel
5353

5454
- name: Install required file-formats packages
5555
run: |
5656
pushd required-fileformats
57-
python3 -m pip install -r requirements.txt
57+
python3 -m pip install --break-system-packages -r requirements.txt
5858
popd
5959
6060
- name: Install Dipy separately as it was causing trouble
61-
run: python3 -m pip install dipy
61+
run: python3 -m pip install --break-system-packages dipy
6262

6363
- name: Install Package
64-
run: python3 -m pip install .[test]
64+
run: python3 -m pip install --break-system-packages .[test]
6565

6666
- name: Pytest
6767
run: pytest -vvs --cov nipype2pydra --cov-config .coveragerc --cov-report xml
@@ -92,7 +92,7 @@ jobs:
9292
python-version: '3.11'
9393

9494
- name: Install build tools
95-
run: python3 -m pip install build twine
95+
run: python3 -m pip install --break-system-packagesbuild twine
9696

9797
- name: Build source and wheel distributions
9898
run: python3 -m build .

conftest.py

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,22 @@
11
import os
22
from pathlib import Path
3-
import traceback
43
import tempfile
54
import pytest
65
from click.testing import CliRunner
76

87

98
PKG_DIR = Path(__file__).parent
109
EXAMPLE_SPECS_DIR = PKG_DIR / "example-specs"
11-
EXAMPLE_TASKS_DIR = EXAMPLE_SPECS_DIR / "task" / "nipype"
10+
EXAMPLE_INTERFACES_DIR = EXAMPLE_SPECS_DIR / "interface" / "nipype"
1211
EXAMPLE_WORKFLOWS_DIR = EXAMPLE_SPECS_DIR / "workflow"
12+
EXAMPLE_PKG_GEN_DIR = EXAMPLE_SPECS_DIR / "pkg-gen"
1313

1414

1515
@pytest.fixture
1616
def gen_test_conftest():
1717
return PKG_DIR / "scripts" / "pkg_gen" / "resources" / "conftest.py"
1818

1919

20-
@pytest.fixture(params=[str(p.stem) for p in EXAMPLE_WORKFLOWS_DIR.glob("*.yaml")])
21-
def workflow_spec_file(request):
22-
return (EXAMPLE_WORKFLOWS_DIR / request.param).with_suffix(".yaml")
23-
24-
2520
@pytest.fixture
2621
def work_dir():
2722
work_dir = tempfile.mkdtemp()

0 commit comments

Comments
 (0)