From 7a1885ebb2c89e977b4d3c02297e6757ddcf9dcc Mon Sep 17 00:00:00 2001 From: David Meunier Date: Wed, 7 Feb 2024 09:52:30 +0100 Subject: [PATCH] version .1 with mcr, to test if gihub is ok now with docker image --- .github/workflows/build_on_prerelease.yml | 83 ++++++++++++++++++++++- macapype/_version.py | 2 +- 2 files changed, 83 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_on_prerelease.yml b/.github/workflows/build_on_prerelease.yml index fe604ca20..af3794841 100644 --- a/.github/workflows/build_on_prerelease.yml +++ b/.github/workflows/build_on_prerelease.yml @@ -60,7 +60,7 @@ jobs: uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc with: context: . - file: Dockerfile_testpypi_nomcr + file: Dockerfile_testpypi push: true tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} @@ -350,3 +350,84 @@ jobs: run: sudo rm -rf macaque_prime-de/results/derivatives/macapype_crop_aladin_ants_t1_t2 + + run-pretest-spm-macaque: + name: Running all existing pipelines in macapype_CI.zip (SPM_native macaque) + needs: docker-build + runs-on: ubuntu-latest + timeout-minutes: 1440 + + steps: + - name: Pull latest docker image + run: + docker pull macatools/macapype:latest + + - name: Download dataset + run: | + + wget --no-check-certificate --content-disposition "https://amubox.univ-amu.fr/public.php?service=files&t=KJ2L5j6L6orPXxM&download" -O macapype_CI.zip + unzip -o macapype_CI.zip -d macapype_CI + + pwd + echo "" + + ls macapype_CI + echo "" + + ls macapype_CI/macaque_prime-de + echo "" + + ls macapype_CI/marmo-marmobrain + echo "" + + - name: Running test pipeline macaque_prime-de SPM_native T1 T2 + run: | + docker run -i -v /home/runner/work/macapype/macapype/macapype_CI:/data macatools/macapype:latest segment_pnh -data /data/macaque_prime-de -out /data/macaque_prime-de/results -soft SPM_native -species macaque -sub 032140 -ses 001 -deriv -pad -dt T1 T2 + + ls /home/runner/work/macapype/macapype/macapype_CI/macaque_prime-de/results/derivatives/macapype_crop_aladin_spm_t1_t2_native/sub-032140/ses-001/anat/ + echo "" + + - name: Cleaning dataset + run: + sudo rm -rf /home/runner/work/macapype/macapype/macapype_CI/macaque_prime-de/results/derivatives/macapype_crop_aladin_spm_t1_t2_native + + run-pretest-spm-marmo: + name: Running all existing pipelines in macapype_CI.zip (SPM_native marmo) + needs: docker-build + runs-on: ubuntu-latest + timeout-minutes: 1440 + + steps: + - name: Pull latest docker image + run: + docker pull macatools/macapype:latest + + - name: Download dataset + run: | + + wget --no-check-certificate --content-disposition "https://amubox.univ-amu.fr/public.php?service=files&t=KJ2L5j6L6orPXxM&download" -O macapype_CI.zip + unzip -o macapype_CI.zip -d macapype_CI + + pwd + echo "" + + ls macapype_CI + echo "" + + ls macapype_CI/macaque_prime-de + echo "" + + ls macapype_CI/marmo-marmobrain + echo "" + + - name: Running test pipeline marmo-marmobrain SPM_native_prep T1 T2 + run: | + + docker run -i -v /home/runner/work/macapype/macapype/macapype_CI:/data macatools/macapype:latest segment_pnh -data /data/marmo-marmobrain -out /data/marmo-marmobrain/results -soft SPM_native -species marmo -sub Percy -ses 01 -deriv -pad -dt T1 T2 + + ls /home/runner/work/macapype/macapype/macapype_CI/marmo-marmobrain/results/derivatives/macapype_crop_aladin_spm_t1_t2_native/sub-Percy/ses-01/anat/ + echo "" + + - name: Cleaning dataset + run: + sudo rm -rf /home/runner/work/macapype/macapype/macapype_CI/marmo-marmobrain/results/derivatives/macapype_crop_aladin_spm_t1_t2_native/ diff --git a/macapype/_version.py b/macapype/_version.py index 5ea569bed..74300f95d 100644 --- a/macapype/_version.py +++ b/macapype/_version.py @@ -1,2 +1,2 @@ -__version__ = '0.3.5' +__version__ = '0.3.5.1-rc1'