Skip to content

Conversation

@dkuegler
Copy link
Member

Additional flags (including --t2) did not work properly from the subject_list file in srun_fastsurfer.sh
The Bug is actually in stools.sh:translate_cases, where the lines are not correct parsed.
This PR fixes this issue and properly parses the file. Also, the check to find non-existent files in stools.sh:check_subject_images.

This PR also adds a check if files are symlinks, which may cause problems with folders mounted in singularity (this needed a small change in srun_fastsurfer.sh - an additional argument to check_subject_images).

This PR fixes #654

@dkuegler dkuegler changed the title Fixes additional flags in srun_fastsurfer Fixes additional flags in srun_fastsurfer and T2 processing Feb 12, 2025
@dkuegler
Copy link
Member Author

Basic testing complete, now testing on a bigger dataset.

@dkuegler dkuegler requested a review from m-reuter February 12, 2025 19:22
@m-reuter
Copy link
Member

looks generally ok. As long as the tests work and normal processing is not breaking, we can merge it.

@dkuegler dkuegler self-assigned this Feb 14, 2025
Additional flags (including --t2) did not work properly from the subject_list file in srun_fastsurfer.sh
The Bug is actually in stools.sh:translate_cases, where the lines are not correct parsed.
This Commit fixes this issue and properly parses the file.
Also, the check to find non-existent files in stools.sh:check_subject_images.

This Commit also adds a check if files are symlinks, which may cause problems with folders mounted in singularity (this needed a small change in srun_fastsurfer.sh - an additional argument to check_subject_images).
…s passed for seg_only module in srun_fastsurfer.sh as well as add a license check if a T2 image is passed to run_fastsurfer.sh
Pass SLURM_ARRAY environment variables through to the segmentation process (not doing so causes the segmentation process to not detect which "batch" to process)
Fix number of jobs in brun_fastsurfer.sh
Fix device detection in brun_fastsurfer.sh
@m-reuter m-reuter merged commit 4ef2143 into Deep-MI:dev Feb 15, 2025
3 checks passed
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.

srun_fastsurfer does not support --t2 flag

2 participants