Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

First prototype of processing script #4

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open

Conversation

jcohenadad
Copy link
Member

Addresses #3

To run the script, do the following:

sct_run_batch -script batch_processing.sh -path-data <PATH_TO_BIDS_ROOT> -path-output <PATH_RESULTS>

local file_seg="${2}"
# Update global variable with segmentation file name
FILELABEL="${file}"_label-disc
FILELABELMANUAL="${PATH_DATA}"/derivatives/labels/"${SUBJECT}"/anat/"${FILELABEL}".nii.gz
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am wondering if we might have some problems here in case they have a session folder? It might be the case with their data so I am not modifying the code for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants