Skip to content

Commit

Permalink
MNT: Update template fetch script to include fsLR
Browse files Browse the repository at this point in the history
  • Loading branch information
effigies committed Nov 20, 2023
1 parent 9738ad1 commit c309f9c
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions scripts/fetch_templates.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,28 @@ def fetch_fsaverage():
tf.get(template, density='164k', suffix='sulc', extension='.shape.gii')


def fetch_fsLR():
"""
Expected templates:
tpl-fsLR/tpl-fsLR_hemi-L_den-32k_desc-nomedialwall_dparc.label.gii
tpl-fsLR/tpl-fsLR_hemi-L_den-32k_desc-vaavg_midthickness.shape.gii
tpl-fsLR/tpl-fsLR_hemi-L_den-32k_sphere.surf.gii
tpl-fsLR/tpl-fsLR_hemi-R_den-32k_desc-nomedialwall_dparc.label.gii
tpl-fsLR/tpl-fsLR_hemi-R_den-32k_desc-vaavg_midthickness.shape.gii
tpl-fsLR/tpl-fsLR_hemi-R_den-32k_sphere.surf.gii
tpl-fsLR/tpl-fsLR_space-fsaverage_hemi-L_den-32k_sphere.surf.gii
tpl-fsLR/tpl-fsLR_space-fsaverage_hemi-R_den-32k_sphere.surf.gii
"""
tf.get("fsLR", density="32k")


def fetch_all():
fetch_MNI2009()
fetch_MNI6()
fetch_OASIS()
fetch_fsaverage()
fetch_fsLR()


if __name__ == "__main__":
Expand Down

0 comments on commit c309f9c

Please sign in to comment.