muschellij2 / ichseg

ICH Segmentation of CT scans
25 stars 8 forks source link

Error when swapping dimensions #6

Open vinferrer opened 1 day ago

vinferrer commented 1 day ago

Hello , I tried to execute the pipeline when this error appeared

# Processing The Data
# Removing Neck

# Registration to template

# Swapping Dimensions 

fslhd "/tmp/RtmpCrjobf/file14baa971a.nii.gz" 

fslorient -getorient "/tmp/RtmpCrjobf/file14baa971a.nii.gz"

fslswapdim "/tmp/RtmpCrjobf/file14baa971a.nii.gz"  RL PA IS "/tmp/RtmpCrjobf/file117c2c5ee";

cp: cannot stat '/tmp/RtmpCrjobf/file14baa971a.nii.gz.nii.gz': No such file or directory
Error in oro.nifti::readNIfTI(..., reorient = reorient) : 
  File(s) not found!
Calls: <Anonymous> ... rpi_orient -> check_nifti -> check_nifti -> readnii
In addition: Warning messages:
1: replacing previous import ‘stats::filter’ by ‘dplyr::filter’ when loading ‘ANTsR’ 
2: In rpi_orient_file(file = file, verbose = verbose) :
  'rpi_orient_file' is deprecated.
Use 'rpi_orient_file is going to be deprecated in the coming releases of fslr, and things this relies on,  including readrpi and rpi_orient.  Please use neurobase functions orient_rpi_file, orient_rpi, and read_rpi in the future.' instead.
See help("Deprecated")
Execution halted

Thank you for the help in advance Enviroment Ubuntu 20.02 R 4.4

muschellij2 commented 1 day ago

Please create a MCVE with the reprex package: https://stackoverflow.com/help/minimal-reproducible-example