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

support to write .nii files (not .nii.gz) #18

Open
samuelholly opened this issue Aug 4, 2022 · 3 comments
Open

support to write .nii files (not .nii.gz) #18

samuelholly opened this issue Aug 4, 2022 · 3 comments
Assignees
Labels
bug Something isn't working enhancement New feature or request

Comments

@samuelholly
Copy link

samuelholly commented Aug 4, 2022

Hi everyone,

first of all thank you for providing this tool to the public.

I tried to run the brats-segment script from the command line on my Ubuntu 18.04 virtual machine:

brats-segment -t1 t1.nii -t1c t1_ce.nii -t2 t2.nii -fla flair.nii -d econib -o brats-segment-outfile.nii

However, I got the following error:

ERROR DETAIL: The outputPath is ambiguous and cannot be determined! path: brats-segment-outfile.nii, t1path: t1.nii, cid: econib

I'm inside the patient folder where all the input files are present.

Could you kindly advise how to get rid of this issue?

Thank you very much.

@samuelholly
Copy link
Author

Hello, I managed to work-around the issue by setting the output file to be GZipped. So:

brats-segment -t1 t1.nii -t1c t1_ce.nii -t2 t2.nii -fla flair.nii -d econib -o brats-segment-outfile.nii.gz

now works.

@neuronflow
Copy link
Owner

Hi @samuelholly,
thank you for your interest in BTK and for reporting back. We will look into supporting non-compressed output files.

@neuronflow neuronflow self-assigned this Oct 18, 2023
@neuronflow neuronflow added the bug Something isn't working label Nov 7, 2023
@neuronflow neuronflow reopened this Nov 7, 2023
@neuronflow neuronflow changed the title Error: The outputPath is ambiguous and cannot be determined! support to write .nii files (not .nii.gz) Nov 7, 2023
@neuronflow
Copy link
Owner

we should also double check that reading .nii files is supported

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants