This is the sample NRRD file written by the above mentioned writer function. It can't be opened in Python or by
.Error log:
Exception occurred when reading file /tmp/mitk-sam-OBvksy/sam-in-QOdQsN/3111588501110146159.nrrd: /home/user1/DKFZ/nnUNet_work/MITK_nnunet/build/ep/src/ITK/Modules/IO/NRRD/src/itkNrrdImageIO.cxx:292: itk::ERROR: NrrdImageIO(0x561dd4b8c4b0): ReadImageInformation: Error reading /tmp/mitk-sam-OBvksy/sam-in-QOdQsN/3111588501110146159.nrrd: [nrrd] nrrdLoad: trouble reading "/tmp/mitk-sam-OBvksy/sam-in-QOdQsN/3111588501110146159.nrrd" [nrrd] nrrdRead: trouble [nrrd] _nrrdRead: trouble reading NRRD file [nrrd] _nrrdFormatNRRD_read: trouble parsing space origin info |(-185,04367065429688,-161,31900024414062)| [nrrd] _nrrdReadNrrdParse_space_origin: couldn't parse origin "(-185,04367065429688,-161,31900024414062)" [nrrd] _nrrdSpaceVectorParse: space dimension is 2, but seem to have 4 coefficients