Skip to content

Commit

Permalink
add current version of bbhist and minor fix for download
Browse files Browse the repository at this point in the history
- adds quotes around url to avoid issues with special characters
- note: bbhist linked here is a WIP (ie subfields gifti has some holes,
need to dilate labels into bg before sampling from native surf)
  • Loading branch information
akhanf committed Jan 8, 2025
1 parent 3ec9963 commit 46fe637
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion hippunfold/config/snakebids.yml
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,7 @@ resource_urls:
synthseg_v0.1: 'zenodo.org/record/8184230/files/trained_model.3d_fullres.Task102_synsegGenDetailed.nnUNetTrainerV2.model_best.tar'
synthseg_v0.2: 'zenodo.org/record/8184230/files/trained_model.3d_fullres.Task203_synthseg.nnUNetTrainerV2.model_best.tar'
atlas:
bbhist: 'fake.url'
bbhist: 'www.dropbox.com/scl/fi/aq59eggbrt719fs33q9t4/atlas-bbhist_20250108.zip?rlkey=vkf5jybhmummhboi8juc2zg2e&st=8y09t5zz&dl=0'
multihist7: 'files.ca-1.osf.io/v1/resources/v8acf/providers/osfstorage/65395b782827451220b86dd8/?zip='
bigbrain: 'files.ca-1.osf.io/v1/resources/v8acf/providers/osfstorage/65395b8b13d27b123094c96f/?zip='
magdeburg: 'files.ca-1.osf.io/v1/resources/v8acf/providers/osfstorage/65395b8013d27b122f94c938/?zip='
Expand Down
4 changes: 2 additions & 2 deletions hippunfold/workflow/rules/download.smk
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ rule download_extract_atlas:
shadow:
"minimal"
shell:
"wget https://{params.url} -O temp.zip && "
"wget 'https://{params.url}' -O temp.zip && "
" unzip -d {output.unzip_dir} temp.zip"


Expand All @@ -27,7 +27,7 @@ rule download_extract_template:
shadow:
"minimal"
shell:
"wget https://{params.url} -O temp.zip && "
"wget 'https://{params.url}' -O temp.zip && "
" unzip -d {output.unzip_dir} temp.zip"


Expand Down

0 comments on commit 46fe637

Please sign in to comment.