From d4b8ecf072aca13b78c36e3382f58b3b82ce75bf Mon Sep 17 00:00:00 2001 From: Ghislain Vaillant Date: Fri, 15 Mar 2024 14:55:18 +0100 Subject: [PATCH] MAINT: Rename package to clinica-pydra-ants --- .../workflows/{publish.yaml => release.yaml} | 4 ++-- .github/workflows/{ci.yaml => test.yaml} | 8 ++++---- README.md | 18 +++++++++++------- pyproject.toml | 12 ++++++------ 4 files changed, 23 insertions(+), 19 deletions(-) rename .github/workflows/{publish.yaml => release.yaml} (95%) rename .github/workflows/{ci.yaml => test.yaml} (92%) diff --git a/.github/workflows/publish.yaml b/.github/workflows/release.yaml similarity index 95% rename from .github/workflows/publish.yaml rename to .github/workflows/release.yaml index 18c3ba2..13c43fa 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/release.yaml @@ -1,4 +1,4 @@ -name: publish +name: release on: release: @@ -13,7 +13,7 @@ concurrency: cancel-in-progress: true jobs: - publish: + pypi: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/ci.yaml b/.github/workflows/test.yaml similarity index 92% rename from .github/workflows/ci.yaml rename to .github/workflows/test.yaml index a0de391..2237011 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/test.yaml @@ -1,4 +1,4 @@ -name: ci +name: test on: push: @@ -24,10 +24,10 @@ jobs: python-version: '3.x' - name: Install Hatch run: pipx install hatch - - name: Run formatter - run: hatch fmt + - name: Run static analysis + run: hatch fmt --check - test: + run: strategy: fail-fast: false matrix: diff --git a/README.md b/README.md index 678b8ab..0094728 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ ----- -Pydra tasks for ANTs +Pydra tasks for ANTs designed for Clinica [Pydra][pydra] is a dataflow engine which provides a set of lightweight abstractions for DAG @@ -16,6 +16,8 @@ construction, manipulation, and distributed execution. [ANTs][ants] is a toolbox for multi-variate image registration, segmentation and statistical analysis. +[Clinica][clinica] is a software platform for clinical neuroimaging studies. + **Table of Contents** - [Available Tasks](#available-tasks) @@ -61,7 +63,7 @@ hatch run test To fix linting issues: ```console -hatch run lint:fix +hatch fmt ``` ## License @@ -76,12 +78,14 @@ This project is distributed under the terms of the [Apache License, Version 2.0] [pydra]: https://pydra.readthedocs.io/ -[pypi-downloads]: https://static.pepy.tech/badge/pydra-ants +[pypi-downloads]: https://static.pepy.tech/badge/clinica-pydra-ants + +[pypi-project]: https://pypi.org/project/clinica-pydra-ants -[pypi-project]: https://pypi.org/project/pydra-ants +[pypi-pyversions]: https://img.shields.io/pypi/pyversions/clinica-pydra-ants.svg -[pypi-pyversions]: https://img.shields.io/pypi/pyversions/pydra-ants.svg +[pypi-version]: https://img.shields.io/pypi/v/clinica-pydra-ants.svg -[pypi-version]: https://img.shields.io/pypi/v/pydra-ants.svg +[status-test]: https://github.com/aramis-lab/clinica-pydra-ants/actions/workflows/test.yaml/badge.svg -[status-test]: https://github.com/aramis-lab/pydra-ants/actions/workflows/test.yaml/badge.svg +[clinica]: https://www.clinica.run/ diff --git a/pyproject.toml b/pyproject.toml index 8be0610..e2cf228 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,9 +3,9 @@ requires = ["hatchling"] build-backend = "hatchling.build" [project] -name = "pydra-ants" -version = "0.0.5" -description = "Pydra tasks for ANTs" +name = "clinica-pydra-ants" +version = "0.1.0" +description = "Pydra tasks for ANTs designed for Clinica" readme = "README.md" requires-python = ">=3.8" license = "Apache-2.0" @@ -38,9 +38,9 @@ dependencies = [ ] [project.urls] -Documentation = "https://github.com/aramis-lab/pydra-ants#readme" -Issues = "https://github.com/aramis-lab/pydra-ants/issues" -Source = "https://github.com/aramis-lab/pydra-ants" +Documentation = "https://github.com/aramis-lab/clinica-pydra-ants#readme" +Issues = "https://github.com/aramis-lab/clinica-pydra-ants/issues" +Source = "https://github.com/aramis-lab/clinica-pydra-ants" [tool.hatch.build.targets.wheel] only-include = ["src/pydra/tasks/ants"]