Skip to content

Updates Nipype2Pydra so that it generates new Pydra syntax #25

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 44 commits into from
Aug 1, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
c97e489
debugging running tests
tclose May 29, 2024
caee1bc
fixing defaults for function interfaces
tclose May 29, 2024
5e8da87
set mandatory to False when there is a valid default
tclose May 29, 2024
843a83a
added support for _format_arg and _parse_inputs methods
tclose May 31, 2024
07700f2
debugging reworked _list_outputs handling
tclose May 31, 2024
985ab46
handled super methods properly
tclose May 31, 2024
1bcc2ec
added callables to outputs
tclose Jun 1, 2024
68e09c7
touching up format_arg super handling
tclose Jun 1, 2024
b550966
handling special super methods
tclose Jun 1, 2024
28659bc
fixed handling of super methods, added supported for aggregate_output…
tclose Jun 1, 2024
1e92a40
debugged changes so that all packages build successfully again
tclose Jun 1, 2024
63a4077
finally got all packages to convert again!
tclose Jun 1, 2024
0aa80aa
debugging updates to conversions to handle function task super methods
tclose Jun 2, 2024
3591c7b
all packages build again after refactor
tclose Jun 2, 2024
23ebaa4
moved constants to bottom of file just in case they rely on a local f…
tclose Jun 2, 2024
dc3214f
disabled return dict unwrapping (used in _list_outputs) by default. A…
tclose Jun 3, 2024
0cac4cd
added option to explicitly route connections from/to explicit inputs …
tclose Jun 3, 2024
955e6c8
debugged workflows and spatial normalisation monster interface
tclose Jun 3, 2024
abf3551
unwrapped super methods in shell helper methods
tclose Jun 3, 2024
8c696fd
debugging mriqc/niworkflows conversions
tclose Jun 7, 2024
3d0e218
debugging switch to class-symbols
tclose Jul 5, 2024
596f5ff
debugging class symbol detection
tclose Jul 23, 2024
96274bf
converting to generate new syntax
tclose Apr 4, 2025
f5b078a
updated worker from serial to debug
tclose Apr 8, 2025
f49482e
updated locations in generated imports
tclose Apr 9, 2025
b952dde
removed stray reference to serial worker
tclose Apr 15, 2025
83f2bf6
updated to use get_fields instead of task_fields (old function name)
tclose May 13, 2025
8ddebc3
updated yaml specs
tclose May 29, 2025
8d723b8
commented out mriqc dep
tclose May 29, 2025
5992a20
debugging interface conversions
tclose May 29, 2025
78690fc
fixed up handling of union types
tclose Jun 1, 2025
ae60b07
Got python and shell interface conversions to work for new syntax
tclose Jun 22, 2025
a4c92ad
fixed up the inclusion of local functions and classes
tclose Jun 22, 2025
c4eae3b
dropped special "ported" module name from output dir clearance
tclose Jun 23, 2025
f0b03f2
debugging mriqc and qsmxt conversions
tclose Jun 26, 2025
251cd20
refreshed the example specs generated from package gen
tclose Jul 31, 2025
fb38d6c
debugging interface converter
tclose Jul 31, 2025
c1136a3
debugging interface conversions
tclose Aug 1, 2025
3144f50
removed fileformat version files from repo
tclose Aug 1, 2025
f2814de
check that xor is not a single string in code generation
tclose Aug 1, 2025
54f6f44
upped python versions in ci-cd to >=3.11
tclose Aug 1, 2025
d44f643
use venv in github actions
tclose Aug 1, 2025
700e818
replaced auto with specifiable "target_version" for target of interfa…
tclose Aug 1, 2025
552a6b6
added target versions to package gen specs and skip mriqc and qsmxt t…
tclose Aug 1, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
30 changes: 20 additions & 10 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
strategy:
matrix:
os: [macos-latest, ubuntu-latest]
python-version: ["3.8", "3.11"]
python-version: ["3.11", "3.13"]
fail-fast: false
runs-on: ${{ matrix.os }}
defaults:
Expand Down Expand Up @@ -77,25 +77,35 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: Update build tools
run: python3 -m pip install --break-system-packages --upgrade pip setuptools wheel
- name: Create virtual environment
run: python3 -m venv venv

- name: Activate virtual environment and update build tools
run: |
source venv/bin/activate
python -m pip install --upgrade pip setuptools wheel

- name: Install required file-formats packages
run: |
source venv/bin/activate
pushd required-fileformats
python3 -m pip install --break-system-packages -r requirements.txt
python -m pip install -r requirements.txt
popd

- name: Install Dipy separately as it was causing trouble
run: python3 -m pip install --break-system-packages dipy
run: |
source venv/bin/activate
python -m pip install dipy

- name: Install Package
run: python3 -m pip install --break-system-packages .[test]
run: |
source venv/bin/activate
python -m pip install .[test]

- name: Pytest
run: >-
NIPYPE2PYDRA_PYDRA_TASK_TEMPLATE=$PWD/pydra-tasks-template
pytest -vvs --cov nipype2pydra --cov-config .coveragerc --cov-report xml
run: |
source venv/bin/activate
NIPYPE2PYDRA_PYDRA_TASK_TEMPLATE=$PWD/pydra-tasks-template pytest -vvs --cov nipype2pydra --cov-config .coveragerc --cov-report xml

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2
Expand Down Expand Up @@ -123,7 +133,7 @@ jobs:
python-version: '3.11'

- name: Install build tools
run: python3 -m pip install --break-system-packages build twine
run: python3 -m pip install build twine

- name: Build source and wheel distributions
run: python3 -m build .
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ __pycache__
/outputs
/test-data
/nipype2pydra/_version.py

/required-fileformats/**/_version.py
Loading
Loading