Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a node for selecting specific shells from preprocessed dwis #194

Merged
merged 13 commits into from
Dec 6, 2024
28 changes: 28 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,25 @@ jobs:
- store_artifacts:
path: /src/qsirecon/.circleci/out/multises_post1_qsiprep_reportsession/

Recon_Interfaces:
<<: *dockersetup
steps:
- checkout
- restore_cache:
key: multishell_output-01
- run: *runinstall
- run:
name: Pytest the recon interfaces
no_output_timeout: 1h
command: |
pytest -rP -o log_cli=true -m "interfaces" --cov-config=/src/qsirecon/pyproject.toml --cov-append --cov-report term-missing --cov=qsirecon --data_dir=/src/qsirecon/.circleci/data --output_dir=/src/qsirecon/.circleci/out --working_dir=/src/qsirecon/.circleci/work qsirecon
mkdir /src/coverage
mv /src/qsirecon/.coverage /src/coverage/.coverage.recon_interfaces
- persist_to_workspace:
root: /src/coverage/
paths:
- .coverage.recon_interfaces

Recon_MRtrix3:
<<: *dockersetup
steps:
Expand Down Expand Up @@ -632,6 +651,13 @@ workflows:
tags:
only: /.*/

- Recon_Interfaces:
requires:
- download_multishell_output
filters:
tags:
only: /.*/

- Recon_AutoTrack:
requires:
- download_multishell_output
Expand Down Expand Up @@ -693,6 +719,7 @@ workflows:
- Recon_3Tissue_Singleshell_ACT
- Recon_3Tissue_Singleshell_NoACT
- Recon_MRtrix3
- Recon_Interfaces
- Recon_AutoTrack
- Recon_Tortoise
- Recon_DIPY_MAPMRI
Expand All @@ -717,6 +744,7 @@ workflows:
- Recon_3Tissue_Singleshell_ACT
- Recon_3Tissue_Singleshell_NoACT
- Recon_MRtrix3
- Recon_Interfaces
- Recon_msmt_Multishell_HSVS
- Recon_AutoTrack
- Recon_Tortoise
Expand Down
12 changes: 11 additions & 1 deletion qsirecon/data/pipelines/mrtrix_singleshell_ss3t_ACT-fast.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,18 @@ anatomical:
- mrtrix_5tt_fast
name: mrtrix_singleshell_ss3t_fast
nodes:
- action: csd

- action: select_gradients
input: qsirecon
name: select_single_shell
parameters:
requested_shells:
- 0
- highest
bval_distance_cutoff: 100

- action: csd
input: select_single_shell
name: ss3t_csd
parameters:
fod:
Expand Down
10 changes: 9 additions & 1 deletion qsirecon/data/pipelines/mrtrix_singleshell_ss3t_ACT-hsvs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,16 @@ anatomical:
- mrtrix_5tt_hsvs
name: mrtrix_singleshell_ss3_hsvst
nodes:
- action: csd
- action: select_gradients
input: qsirecon
name: select_single_shell
parameters:
requested_shells:
- 0
- highest
bval_distance_cutoff: 100
- action: csd
input: select_single_shell
name: ss3t_csd
parameters:
fod:
Expand Down
12 changes: 11 additions & 1 deletion qsirecon/data/pipelines/mrtrix_singleshell_ss3t_noACT.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,18 @@
anatomical: []
name: mrtrix_singleshell_ss3t_noACT
nodes:
- action: csd

- action: select_gradients
input: qsirecon
name: select_single_shell
parameters:
requested_shells:
- 0
- highest
bval_distance_cutoff: 100

- action: csd
input: select_single_shell
name: ss3t_csd
parameters:
fod:
Expand Down
Loading
Loading