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

Adding the preprocessing code back #81

Merged
merged 1 commit into from
Oct 4, 2023
Merged

Conversation

rohanbanerjee
Copy link
Contributor

Fixes #80. Adds the removed code back to preprocess_segment.sh.

Steps to reproduce this PR:

Data: duke/temp/rohan/bids_data
Config file values:

{
	"path_data": "PATH_TO_BIDS_DATA",
	"include-list": "sub-HarshmanDobby",
	"data_type": "anat",
	"contrast": "t2",
	"suffix_image": "_T2",
	"first_disc": "1",
	"last_disc": "26"
}

Run the preprocess_segment.sh using the sct_run_batch from the README of this PR.

Expected output

Running this script should create a temporary output folder with the segmentation and disc_level derivatives with the names:
{SUBJECT_NAME_CONTRAST}_label-SC_mask.nii.gz
{SUBJECT_NAME_CONTRAST}_labeled-discs.nii.gz

Copy link
Member

@jcohenadad jcohenadad left a comment

Choose a reason for hiding this comment

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

needs to be tested

@rohanbanerjee rohanbanerjee merged commit 4c1286d into master Oct 4, 2023
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.

Adding the code back to preprocess_segment.sh
2 participants