Skip to content

Commit

Permalink
_osf to _url
Browse files Browse the repository at this point in the history
  • Loading branch information
Jordan DeKraker - B. Bernhardt Lab committed Feb 12, 2024
1 parent 6df9888 commit ca78673
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions hippunfold/config/snakebids.yml
Original file line number Diff line number Diff line change
Expand Up @@ -469,14 +469,14 @@ nnunet_model:
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_links_osf:
atlas_links_url:
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='
freesurfer: 'files.ca-1.osf.io/v1/resources/v8acf/providers/osfstorage/65395b8513d27b123094c96a/?zip='
#to get hash, see https://github.com/CenterForOpenScience/osf.io/issues/8256#issuecomment-379833911

template_links_osf:
template_links_url:
CITI168: 'files.ca-1.osf.io/v1/resources/v8acf/providers/osfstorage/65395bf0282745121fb86a93/?zip='
dHCP: 'files.ca-1.osf.io/v1/resources/v8acf/providers/osfstorage/65395bff13d27b123094c9b4/?zip='
MBMv2: 'files.ca-1.osf.io/v1/resources/v8acf/providers/osfstorage/65395c0887852d133ca597dd/?zip='
Expand Down
6 changes: 3 additions & 3 deletions hippunfold/workflow/rules/downloads.smk
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
rule download_atlas:
params:
url=config["atlas_links_osf"][config["atlas"]],
url=config["atlas_links_url"][config["atlas"]],
output:
model_zip=os.path.join(download_dir, config["atlas"] + ".zip"),
container:
Expand All @@ -11,7 +11,7 @@ rule download_atlas:

rule download_template:
params:
url=config["template_links_osf"][config["template"]],
url=config["template_links_url"][config["template"]],
output:
model_zip=os.path.join(download_dir, config["template"] + ".zip"),
container:
Expand All @@ -22,7 +22,7 @@ rule download_template:

rule download_template_shape:
params:
url=config["template_links_osf"][config["inject_template"]],
url=config["template_links_url"][config["inject_template"]],
output:
model_zip=os.path.join(download_dir, config["inject_template"] + ".zip"),
container:
Expand Down

0 comments on commit ca78673

Please sign in to comment.