Created
March 6, 2025 18:12
-
-
Save akhanf/5504c5ea3ed82fb853938a42998bff1c to your computer and use it in GitHub Desktop.
unfold screenshot hippunfold
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rule screenshot_unfold: | |
input: | |
surf_gii=bids( | |
root=work, | |
datatype="surf", | |
suffix="midthickness.surf.gii", | |
desc="nostruct", | |
space="unfold", | |
hemi="{hemi}", | |
label="{label}", | |
boundarysmooth="{boundarysmooth}", | |
featuresmooth="{featuresmooth}", | |
edgeangle="{edgeangle}", | |
featureangle="{featureangle}", | |
niter="{niter}", | |
**inputs.subj_wildcards, | |
), | |
output: | |
png=bids( | |
root=work, | |
datatype="surf", | |
suffix="midthickness.png", | |
desc="nostruct", | |
space="unfold", | |
hemi="{hemi}", | |
label="{label}", | |
boundarysmooth="{boundarysmooth}", | |
featuresmooth="{featuresmooth}", | |
edgeangle="{edgeangle}", | |
featureangle="{featureangle}", | |
niter="{niter}", | |
**inputs.subj_wildcards, | |
), | |
shell: | |
"set +o pipefail; set +e; freeview -f {input}:vertex=1 -cam elevation 90 roll -90 -ss {output}; exit 0" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment