Skip to content

Commit 7346308

Browse files
committed
renamed references to pydra-* to pydra-tasks-*
1 parent fcd0050 commit 7346308

File tree

42 files changed

+53
-53
lines changed

Some content is hidden

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

42 files changed

+53
-53
lines changed

nipype2pydra/cli/pkg_gen.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ def pkg_gen(
308308
for example_pkg_name in example_pkg_names:
309309
specs_dir = (
310310
output_dir
311-
/ ("pydra-" + example_pkg_name)
311+
/ ("pydra-tasks-" + example_pkg_name)
312312
/ "nipype-auto-conv"
313313
/ "specs"
314314
)

nipype2pydra/package.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1162,7 +1162,7 @@ def write_pkg_inits(
11621162
from ._version import __version__
11631163
except ImportError:
11641164
raise RuntimeError(
1165-
"pydra-{pkg} has not been properly installed, please run "
1165+
"pydra-tasks-{pkg} has not been properly installed, please run "
11661166
f"`pip install -e {str(pkg_path)}` to install a development version"
11671167
)
11681168
if "nipype" not in __version__:

nipype2pydra/pkg_gen/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -611,7 +611,7 @@ def _fields_stub(cls, name, category_class, values=None):
611611

612612

613613
def download_tasks_template(output_path: Path):
614-
"""Downloads the latest pydra-template to the output path"""
614+
"""Downloads the latest pydra-tasks-template to the output path"""
615615
output_path.parent.mkdir(parents=True, exist_ok=True)
616616

617617
release_url = (

nipype2pydra/pkg_gen/resources/templates/gh_workflows/ci-cd-interface.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ jobs:
183183
if: ${{ always() }}
184184
with:
185185
files: coverage.xml
186-
name: pydra-CHANGEME
186+
name: pydra-tasks-CHANGEME
187187

188188

189189
deploy-fileformats:
@@ -391,7 +391,7 @@ jobs:
391391
if: github.event_name == 'release' || github.event_name == 'repository_dispatch'
392392
run: >-
393393
curl -XPOST -u "${{ env.POST_RELEASE_PAT }}" -H "Accept: application/vnd.github.everest-preview+json"
394-
"https://api.github.com/repos/nipype/pydra-CHANGEME/dispatches"
394+
"https://api.github.com/repos/nipype/pydra-tasks-CHANGEME/dispatches"
395395
-d '{
396396
"event_type": "progress-report",
397397
"client_payload": ${{ steps.generate-report.output.progress_report }}

nipype2pydra/pkg_gen/resources/templates/gh_workflows/ci-cd-workflow.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ jobs:
174174
if: ${{ always() }}
175175
with:
176176
files: coverage.xml
177-
name: pydra-CHANGEME
177+
name: pydra-tasks-CHANGEME
178178

179179

180180
deploy:

nipype2pydra/pkg_gen/resources/templates/init.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
from ._version import __version__
1515
except ImportError:
1616
raise RuntimeError(
17-
"pydra-CHANGEME has not been properly installed, please run "
17+
"pydra-tasks-CHANGEME has not been properly installed, please run "
1818
f"`pip install -e {str(pkg_path)}` to install a development version"
1919
)
2020
if "post" not in __version__:

nipype2pydra/pkg_gen/resources/templates/related-packages/fileformats-extras/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ converters = [
5858
]
5959

6060
[project.urls]
61-
repository = "https://github.com/nipype/pydra-CHANGEME"
61+
repository = "https://github.com/nipype/pydra-tasks-CHANGEME"
6262

6363
[tool.hatch.version]
6464
source = "vcs"

nipype2pydra/pkg_gen/resources/templates/related-packages/fileformats/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ test = [
5555
]
5656

5757
[project.urls]
58-
repository = "https://github.com/nipype/pydra-CHANGEME"
58+
repository = "https://github.com/nipype/pydra-tasks-CHANGEME"
5959

6060
[tool.hatch.version]
6161
source = "vcs"

nipype2pydra/tests/test_package.py

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,23 +12,23 @@
1212
"niworkflows": [
1313
"bids",
1414
"templateflow",
15-
"pydra-ants",
16-
"pydra-afni",
15+
"pydra-tasks-ants",
16+
"pydra-tasks-afni",
1717
],
1818
"mriqc": [
1919
"nipype2pydra",
20-
"pydra-ants",
21-
"pydra-afni",
22-
"pydra-fsl",
23-
"pydra-mrtrix3 >=3.0.3a0",
20+
"pydra-tasks-ants",
21+
"pydra-tasks-afni",
22+
"pydra-tasks-fsl",
23+
"pydra-tasks-mrtrix3 >=3.1.0a1",
2424
"fileformats-medimage-afni-extras",
2525
"fileformats-medimage-mrtrix3-extras",
2626
"fileformats-medimage-fsl-extras",
2727
"statsmodels",
2828
"dipy",
2929
"bids",
30-
"pydra-niworkflows",
31-
"pydra-nireports",
30+
"pydra-tasks-niworkflows",
31+
"pydra-tasks-nireports",
3232
"matplotlib",
3333
"seaborn",
3434
"templateflow",
@@ -67,7 +67,7 @@ def test_package_complete(package_spec, cli_runner, tmp_path, tasks_template_arg
6767
+ tasks_template_args,
6868
)
6969
assert result.exit_code == 0, show_cli_trace(result)
70-
pkg_root = repo_output / f"pydra-{pkg_name}"
70+
pkg_root = repo_output / f"pydra-tasks-{pkg_name}"
7171
assert pkg_root.exists()
7272

7373
pyproject_fspath = pkg_root / "pyproject.toml"
@@ -104,10 +104,10 @@ def test_package_complete(package_spec, cli_runner, tmp_path, tasks_template_arg
104104
pip_output = pip_output.decode("utf-8")
105105
assert (
106106
not p.returncode
107-
), f"Failed to install package pydra-{pkg_name} with command:\n{' '.join(pip_cmd)}:\n\n{pip_output}"
107+
), f"Failed to install package pydra-tasks-{pkg_name} with command:\n{' '.join(pip_cmd)}:\n\n{pip_output}"
108108
p = sp.Popen([venv_pytest, str(pkg_root)], stderr=sp.PIPE, stdout=sp.STDOUT)
109109
pytest_output, _ = p.communicate()
110110
pytest_output = pytest_output.decode("utf-8")
111111
assert (
112112
p.returncode
113-
), f"Tests for pydra-{pkg_name} package (\n{' '.join(pip_cmd)}) failed:\n\n{pytest_output}"
113+
), f"Tests for pydra-tasks-{pkg_name} package (\n{' '.join(pip_cmd)}) failed:\n\n{pytest_output}"

required-fileformats/afni/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ test = [
5555
]
5656

5757
[project.urls]
58-
repository = "https://github.com/nipype/pydra-afni"
58+
repository = "https://github.com/nipype/pydra-tasks-afni"
5959

6060
[tool.hatch.version]
6161
source = "vcs"

0 commit comments

Comments
 (0)