Skip to content

Commit

Permalink
[DOC] Update the Python version used for creating the conda environme…
Browse files Browse the repository at this point in the history
…nt in README (#600)

* update python version used for creating conda env in README

* investigate

* fix
  • Loading branch information
NicolasGensollen authored May 30, 2024
1 parent 39d22fd commit 571662c
Show file tree
Hide file tree
Showing 12 changed files with 20 additions and 21 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test_cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ jobs:
python-version: ${{ env.PYTHON_VERSION }}
- name: Run CLI tests
run: |
make env.conda
source /builds/miniconda3/etc/profile.d/conda.sh
make env.conda
conda activate "${{ github.workspace }}"/env
make install
cd tests
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_generate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ jobs:
python-version: ${{ env.PYTHON_VERSION }}
- name: Run tests for generate task
run: |
make env.conda
source /builds/miniconda3/etc/profile.d/conda.sh
make env.conda
conda activate "${{ github.workspace }}"/env
make install
cd tests
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_interpret.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ jobs:
python-version: ${{ env.PYTHON_VERSION }}
- name: Run tests for Interpret task on GPU
run: |
make env.conda
source "${HOME}/miniconda3/etc/profile.d/conda.sh"
make env.conda
conda activate "${{ github.workspace }}"/env
make install
cd tests
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_predict.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ jobs:
python-version: ${{ env.PYTHON_VERSION }}
- name: Run tests for predict task
run: |
make env.conda
source /builds/miniconda3/etc/profile.d/conda.sh
make env.conda
conda activate "${{ github.workspace }}"/env
make install
cd tests
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_prepare_data.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ jobs:
python-version: ${{ env.PYTHON_VERSION }}
- name: Run tests for prepare data task
run: |
make env.conda
source /builds/miniconda3/etc/profile.d/conda.sh
make env.conda
conda activate "${{ github.workspace }}"/env
make install
cd tests
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_quality_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ jobs:
python-version: ${{ env.PYTHON_VERSION }}
- name: Run tests for Quality Check
run: |
make env.conda
source /builds/miniconda3/etc/profile.d/conda.sh
make env.conda
conda activate "${{ github.workspace }}"/env
make install
cd tests
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_random_search.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ jobs:
python-version: ${{ env.PYTHON_VERSION }}
- name: Run Random Search tests on GPU
run: |
make env.conda
source "${HOME}/miniconda3/etc/profile.d/conda.sh"
make env.conda
conda activate "${{ github.workspace }}"/env
make install
cd tests
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_resume.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ jobs:
python-version: ${{ env.PYTHON_VERSION }}
- name: Run resume tests on GPU
run: |
make env.conda
source "${HOME}/miniconda3/etc/profile.d/conda.sh"
make env.conda
conda activate "${{ github.workspace }}"/env
make install
cd tests
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_train.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ jobs:
python-version: ${{ env.PYTHON_VERSION }}
- name: Run tests for Train on GPU
run: |
make env.conda
source "${HOME}/miniconda3/etc/profile.d/conda.sh"
make env.conda
conda activate "${{ github.workspace }}"/env
make install
cd tests
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_transfer_learning.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ jobs:
python-version: ${{ env.PYTHON_VERSION }}
- name: Run tests for Transfer Learning on GPU
run: |
make env.conda
source "${HOME}/miniconda3/etc/profile.d/conda.sh"
make env.conda
conda activate "${{ github.workspace }}"/env
make install
cd tests
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test_tsvtools.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ jobs:
python-version: ${{ env.PYTHON_VERSION }}
- name: Run tests for TSV tools
run: |
make env.conda
source /builds/miniconda3/etc/profile.d/conda.sh
make env.conda
conda activate "${{ github.workspace }}"/env
make install
cd tests
Expand Down
19 changes: 9 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,34 +33,33 @@
## About the project

This repository hosts ClinicaDL, the deep learning extension of [Clinica](https://github.com/aramis-lab/clinica),
a python library to process neuroimaging data in [BIDS](https://bids.neuroimaging.io/index.html) format.
a Python library to process neuroimaging data in [BIDS](https://bids.neuroimaging.io/index.html) format.

> **Disclaimer:** this software is **under development**. Some features can
change between different releases and/or commits.

To access the full documentation of the project, follow the link
[https://clinicadl.readthedocs.io/](https://clinicadl.readthedocs.io/).
To access the full documentation of the project, follow the link [https://clinicadl.readthedocs.io/](https://clinicadl.readthedocs.io/).
If you find a problem when using it or if you want to provide us feedback,
please [open an issue](https://github.com/aramis-lab/ad-dl/issues) or write on
the [forum](https://groups.google.com/forum/#!forum/clinica-user).

## Getting started

ClinicaDL currently supports macOS and Linux.

We recommend to use `conda` or `virtualenv` for the installation of ClinicaDL
as it guarantees the correct management of libraries depending on common
packages:
as it guarantees the correct management of libraries depending on common packages:

```{.sourceCode .bash}
conda create --name ClinicaDL python=3.8
conda create --name ClinicaDL python=3.10
conda activate ClinicaDL
pip install clinicadl
```

## Tutorial
Visit our [hands-on tutorial web
site](https://aramislab.paris.inria.fr/clinicadl/tuto) to start
using **ClinicaDL** directly in a Google Colab instance!
## Tutorial

Visit our [hands-on tutorial web site](https://aramislab.paris.inria.fr/clinicadl/tuto)
to start using **ClinicaDL** directly in a Google Colab instance!

## Related Repositories

Expand Down

0 comments on commit 571662c

Please sign in to comment.