Skip to content

Commit

Permalink
[ENH] Update boutiques descriptor and example invocation (#225)
Browse files Browse the repository at this point in the history
* update boutiques descriptor

* update boutiques descriptor

* use matrix in ci

* fix
  • Loading branch information
Remi-Gau authored Aug 6, 2024
1 parent 28640a5 commit 0a42633
Show file tree
Hide file tree
Showing 9 changed files with 287 additions and 141 deletions.
18 changes: 5 additions & 13 deletions .github/workflows/system_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,41 +17,33 @@ env:

jobs:
system_test:

runs-on: ubuntu-latest

strategy:
matrix:
python-version: ['3.11']

cmd: [demo, demo_boutiques]
fail-fast: false
steps:

- name: Clone repo
uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: |
sudo apt-get update -y
sudo apt-get install -y git-annex
python -m pip install --upgrade pip setuptools
pip install datalad
pip install datalad boutiques
- name: Install bidsmreye
run: |
pip install .
- name: Datalad WTF
run: |
datalad wtf
- name: Run demo
run: make demo

- name: Run ${{ matrix.cmd }}
run: make ${{ matrix.cmd }}
- name: Re run demo (should be faster)
run: |
make prepare
Expand Down
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,9 @@ generalize: ## demo: predicts labels of MOAE dataset
--model 1_guided_fixations \
-vv

# run demo via boutiques
demo_boutiques: tests/data/moae_fmriprep
bosh exec launch --no-container boutiques/bidsmreye_0.4.0.json boutiques/invocation.json

## ds002799
.PHONY: get_ds002799_dat
Expand Down
13 changes: 0 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,19 +100,6 @@ Note that you might need to install cudnn first
conda install -c conda-forge cudnn
```

#### ANTsPy installation issues

If installation of [ANTsPy](https://github.com/ANTsX/ANTsPy) fails try to manually install it via:

<!-- may help on windows ? -->

```bash
git clone https://github.com/ANTsX/ANTsPy
cd ANTsPy
pip install CMake
python3 setup.py install
```

### Dev install

Clone this repository.
Expand Down
4 changes: 1 addition & 3 deletions boutiques/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,4 @@ BIDS app and an example of invocation.
## How to use

* Install Boutiques: `pip install boutiques`
* Run the example: `bosh ./bids-app-example.json -i ./invocation.json -e -d`
(assumes `ds001` is a valid dataset in the current working
directory.)
* Run the example: `bosh boutiques/bidsmreye_0.4.0.json -i boutiques/invocation.json -e -d`
104 changes: 0 additions & 104 deletions boutiques/bidsmreye.json

This file was deleted.

Loading

0 comments on commit 0a42633

Please sign in to comment.