Skip to content

Commit b8e3df1

Browse files
authored
Merge pull request #15 from nipype/formatter-fixes
manually fixed nipype2pydra converter issue where formatters are assigned as strings
2 parents 66c0020 + c24c35d commit b8e3df1

Some content is hidden

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

51 files changed

+78
-78
lines changed

.github/workflows/auto-release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@ jobs:
3333
"draft": false,
3434
"prerelease": false
3535
}' \
36-
"https://api.github.com/repos/nipype/pydra-#PACKAGE#/releases"
36+
"https://api.github.com/repos/nipype/pydra-tasks-#PACKAGE#/releases"

.github/workflows/ci-cd.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,10 +129,10 @@ jobs:
129129
- name: Install task package
130130
run: |
131131
pip install "./related-packages/fileformats[test]" "./related-packages/fileformats-extras[test]"
132-
python -c "import fileformats.medimage_afni as m; print(f'{m.__name__} {m.__version__} @ {m.__file__}')"
132+
python -c "import fileformats.vendor.afni.medimage as m; print(f'{m.__name__} {m.__version__} @ {m.__file__}')"
133133
- name: Test fileformats with pytest
134134
run: >-
135-
pytest ./related-packages -sv --cov fileformats.medimage_afni
135+
pytest ./related-packages -sv --cov fileformats.vendor.afni.medimage
136136
--cov fileformats.extras.medimage_afni --cov-report xml .
137137
138138
deploy-fileformats:

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
# -- Project information -----------------------------------------------------
1919

20-
project = "pydra-afni"
20+
project = "pydra-tasks-afni"
2121
copyright = "2020, Xihe Xie"
2222
author = "Xihe Xie"
2323

nipype-auto-conv/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ PyYAML>=6.0
66
fileformats >=0.8
77
fileformats-medimage >=0.4
88
fileformats-datascience >= 0.1
9-
fileformats-medimage-afni
9+
fileformats-vendor-afni
1010
traits
1111
nipype2pydra

nipype-auto-conv/specs/interfaces/afn_ito_nifti.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ inputs:
3636
# from the nipype interface, but you may want to be more specific, particularly
3737
# for file types, where specifying the format also specifies the file that will be
3838
# passed to the field in the automatically generated unittests.
39-
in_file: fileformats.medimage_afni.ThreeD
39+
in_file: fileformats.vendor.afni.medimage.ThreeD
4040
# type=file|default=<undefined>: input file to 3dAFNItoNIFTI
4141
callable_defaults:
4242
# dict[str, str] - names of methods/callable classes defined in the adjacent `*_callables.py`

nipype-auto-conv/specs/interfaces/calc.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ outputs:
7272
# from the nipype interface, but you may want to be more specific, particularly
7373
# for file types, where specifying the format also specifies the file that will be
7474
# passed to the field in the automatically generated unittests.
75-
out_file: fileformats.medimage_afni.All1
75+
out_file: fileformats.vendor.afni.medimage.All1
7676
# type=file: output file
7777
# type=file|default=<undefined>: output image file name
7878
callables:

nipype-auto-conv/specs/interfaces/cat.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ outputs:
5656
# from the nipype interface, but you may want to be more specific, particularly
5757
# for file types, where specifying the format also specifies the file that will be
5858
# passed to the field in the automatically generated unittests.
59-
out_file: fileformats.medimage_afni.OneD
59+
out_file: fileformats.vendor.afni.medimage.OneD
6060
# type=file: output file
6161
# type=file|default='catout.1d': output (concatenated) file name
6262
callables:

nipype-auto-conv/specs/interfaces/convert_dset.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ outputs:
5454
# from the nipype interface, but you may want to be more specific, particularly
5555
# for file types, where specifying the format also specifies the file that will be
5656
# passed to the field in the automatically generated unittests.
57-
out_file: fileformats.medimage_afni.Dset
57+
out_file: fileformats.vendor.afni.medimage.Dset
5858
# type=file: output file
5959
# type=file|default=<undefined>: output file for ConvertDset
6060
callables:

nipype-auto-conv/specs/interfaces/deconvolve.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ outputs:
7575
# type=file|default=<undefined>: output statistics file
7676
reml_script: generic/file
7777
# type=file: automatically generated script to run 3dREMLfit
78-
x1D: fileformats.medimage_afni.OneD
78+
x1D: fileformats.vendor.afni.medimage.OneD
7979
# type=file: save out X matrix
8080
# type=file|default=<undefined>: specify name for saved X matrix
8181
callables:

nipype-auto-conv/specs/interfaces/eval.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ inputs:
3939
# from the nipype interface, but you may want to be more specific, particularly
4040
# for file types, where specifying the format also specifies the file that will be
4141
# passed to the field in the automatically generated unittests.
42-
in_file_a: fileformats.medimage_afni.OneD
42+
in_file_a: fileformats.vendor.afni.medimage.OneD
4343
# type=file|default=<undefined>: input file to 1deval
4444
in_file_b: generic/file
4545
# type=file|default=<undefined>: operand file to 1deval
@@ -63,7 +63,7 @@ outputs:
6363
# from the nipype interface, but you may want to be more specific, particularly
6464
# for file types, where specifying the format also specifies the file that will be
6565
# passed to the field in the automatically generated unittests.
66-
out_file: fileformats.medimage_afni.OneD
66+
out_file: fileformats.vendor.afni.medimage.OneD
6767
# type=file: output file
6868
# type=file|default=<undefined>: output image file name
6969
callables:

0 commit comments

Comments
 (0)