Skip to content

Commit

Permalink
Force creation of .snakebids file (#192)
Browse files Browse the repository at this point in the history
Fixes error when running on existing and adds a test case
  • Loading branch information
akhanf authored Jun 3, 2022
1 parent 201d2a5 commit 84f6cd3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/python-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,10 @@ jobs:
- name: Test single T2w bids
run: |
poetry run hippunfold test_data/bids_singleT2w test_out participant -np --modality T2w
- name: Test running on existing folder
run: |
mkdir test_newout
poetry run hippunfold test_data/bids_singleT2w test_newout participant -np --modality T2w
- name: Test single T2w bids, right hemi
run: |
poetry run hippunfold test_data/bids_singleT2w test_out participant -np --modality T2w --hemi R
Expand Down
2 changes: 2 additions & 0 deletions hippunfold/config/snakebids.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
bids_dir: '../test_data/bids_singleT2w'
output_dir: 'test_output' #don't use '.'

force: True

#snakemake_dir: '.' #do not modify this variable -- is used to refer to files needed by the workflow when running with CLI

#enable printing debug statements during parsing -- disable if generating dag visualization
Expand Down

0 comments on commit 84f6cd3

Please sign in to comment.