Skip to content

Commit

Permalink
cut down BIDS test files to 1 slice, update run_DCE.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
lsaca05 committed Apr 29, 2024
1 parent 3fc05db commit 7f92962
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/run_DCE.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,12 @@ jobs:
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set up MATLAB
uses: matlab-actions/setup-matlab@v2
with:
products: Curve_Fitting_Toolbox Image_Processing_Toolbox Optimization_Toolbox Parallel_Computing_Toolbox Statistics_and_Machine_Learning_Toolbox
release: ${{ matrix.release }}

#- name: Get MATLAB toolboxes with mpm
Expand All @@ -36,16 +37,16 @@ jobs:
- name: Run T1 mapping
uses: matlab-actions/run-command@v2
with:
command: addpath .; addpath dce/; addpath external_programs/; addpath external_programs/niftitools/; addpath parametric_scripts/; addpath parametric_scripts/custom_scripts/; T1mapping_fit('test_data/BIDS_test/rawdata/sub-01/ses-01/anat/', 'test_data/BIDS_test/derivatives/sub-01/ses-01/anat/', 'sub-01_ses-01_space-DCEref_desc-bfczunified_VFA.nii')
command: addpath .; addpath dce/; addpath external_programs/; addpath external_programs/niftitools/; addpath parametric_scripts/; addpath parametric_scripts/custom_scripts/; T1mapping_fit('test_data/BIDS_test/rawdata/sub-01/ses-01/anat/', 'test_data/BIDS_test/derivatives/sub-01/ses-01/anat/', 'sub-01_ses-01_space-DCEref_desc-bfczunified_VFA.nii.gz')

- name: Run DCE
uses: matlab-actions/run-command@v2
with:
command: run_dce_cli('test_data/BIDS_test/derivatives/sub-01/ses-01/')
command: run_dce_cli('test_data/BIDS_test/derivatives/sub-01/ses-01/', 'test_data/BIDS_test/rawdata/sub-01/ses-01/')

- name: Upload Ktrans result
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: Ktrans_result
path: test\ data/test2/dce_patlak_fit_Ktrans.nii
path: test_data/BIDS_test/derivatives/sub-01/ses-01/dce_patlak_fit_Ktrans.nii

Binary file not shown.
Binary file not shown.
Binary file modified test_data/BIDS_test/rawdata/sub-01/ses-01/anat/sub-01_ses-01_T1w.nii.gz
100755 → 100644
Binary file not shown.
Binary file modified test_data/BIDS_test/rawdata/sub-01/ses-01/anat/sub-01_ses-01_flip-01_VFA.nii.gz
100755 → 100644
Binary file not shown.
Binary file modified test_data/BIDS_test/rawdata/sub-01/ses-01/anat/sub-01_ses-01_flip-02_VFA.nii.gz
100755 → 100644
Binary file not shown.
Binary file modified test_data/BIDS_test/rawdata/sub-01/ses-01/anat/sub-01_ses-01_flip-03_VFA.nii.gz
100755 → 100644
Binary file not shown.

0 comments on commit 7f92962

Please sign in to comment.