Open foxet opened 1 year ago
The error shows that the output of the registration is missing, i.e. the registration failed. And then everything further down the workflow fails because of that missing registration output.
If you look at the output files/folders, do you have a file called P001_stx.nrrd or P001_stx.nhdr?
You could try to first convert your file to .nrrd and see whether that helps.
Best Martin
The error shows that the output of the registration is missing, i.e. the registration failed. And then everything further down the workflow fails because of that missing registration output.
If you look at the output files/folders, do you have a file called P001_stx.nrrd or P001_stx.nhdr?
You could try to first convert your file to .nrrd and see whether that helps.
Best Martin
Hi Martin Thanks for ur response.
I tried nrrd and nii, both failed and there is no P001_stx.nrrd or P001_stx.nhdr in the output directory. could u please check my file? P001.nii.zip
best wish Lin
Thankyou for your sofware ,but some issue happen when it was running The software was ran on MAC apple m2
the error message as follow:
libc++abi: terminating due to uncaught exception of type itk::ImageFileReaderException: /Users/juan/UNC/src/auto_EACSF-build/ITKv4-install/include/ITK-4.13/itkImageFileReader.hxx:87: FileName must be specified
ITK exception caught in main
itk::ImageFileReaderException (0x600000f38470) Location: "unknown" File: /Users/juan/UNC/src/auto_EACSF-build/ITKv4-install/include/ITK-4.13/itkImageFileReader.hxx Line: 143 Description: Could not create IO object for reading file /Users/foxet/Documents/zhanghong/output/RigidRegistration/P001_stx.nrrd The file doesn't exist. Filename = /Users/foxet/Documents/zhanghong/output/RigidRegistration/P001_stx.nrrd
Error: ipGetArgument: argument value of option "-majorityVoting" is missing!
libc++abi: terminating due to uncaught exception of type itk::ImageFileReaderException: /Users/juan/UNC/src/auto_EACSF-build/ITKv4-install/include/ITK-4.13/itkImageFileReader.hxx:143: Could not create IO object for reading file /Users/foxet/Documents/zhanghong/output/SkullStripping/P001_stx_weightedMajority.nii.gz The file doesn't exist. Filename = /Users/foxet/Documents/zhanghong/output/SkullStripping/P001_stx_weightedMajority.nii.gz
libc++abi: terminating due to uncaught exception of type itk::ImageFileReaderException: /Users/juan/UNC/src/auto_EACSF-build/ITKv4-install/include/ITK-4.13/itkImageFileReader.hxx:143: Could not create IO object for reading file /Users/foxet/Documents/zhanghong/output/SkullStripping/P001_stx_weightedMajority.nii.gz The file doesn't exist. Filename = /Users/foxet/Documents/zhanghong/output/SkullStripping/P001_stx_weightedMajority.nii.gz
libc++abi: terminating due to uncaught exception of type itk::ImageFileReaderException: /Users/juan/UNC/src/auto_EACSF-build/ITKv4-install/include/ITK-4.13/itkImageFileReader.hxx:143: Could not create IO object for reading file /Users/foxet/Documents/zhanghong/output/SkullStripping/P001_stx_weightedMajority.nii.gz The file doesn't exist. Filename = /Users/foxet/Documents/zhanghong/output/SkullStripping/P001_stx_weightedMajority.nii.gz
libc++abi: terminating due to uncaught exception of type itk::ImageFileReaderException: /Users/juan/UNC/src/auto_EACSF-build/ITKv4-install/include/ITK-4.13/itkImageFileReader.hxx:143: Could not create IO object for reading file /Users/foxet/Documents/zhanghong/output/SkullStripping/P001_stx_stripped.nrrd The file doesn't exist. Filename = /Users/foxet/Documents/zhanghong/output/SkullStripping/P001_stx_stripped.nrrd
Exception caught in ANTS: /Users/juan/UNC/src/auto_EACSF-build/ITKv4-install/include/ITK-4.13/itkImageFileReader.hxx:143: Could not create IO object for reading file /Users/foxet/Documents/zhanghong/output/SkullStripping/P001_stx_stripped.nrrd The file doesn't exist. Filename = /Users/foxet/Documents/zhanghong/output/SkullStripping/P001_stx_stripped.nrrd
Run without any arguments to see command line options Exception: Invalid segmentation parameter values
Traceback (most recent call last): File "/Users/foxet/Documents/zhanghong/output/PythonScripts/main_script.py", line 288, in
main(args)
File "/Users/foxet/Documents/zhanghong/output/PythonScripts/main_script.py", line 121, in main
BRAIN_MASK_base = os.path.splitext(os.path.basename(BRAIN_MASK))[0]
File "/Users/foxet/fsl/lib/python3.10/posixpath.py", line 142, in basename
p = os.fspath(p)
TypeError: expected str, bytes or os.PathLike object, not NoneType