SyneRBI / SIRF

Main repository for the CCP SynerBI software
http://www.ccpsynerbi.ac.uk
Other
58 stars 29 forks source link

sirf.STIR.ImageData.write_par() parameter file issue #1196

Closed varzakis closed 1 year ago

varzakis commented 1 year ago

Needed to remove spaces from the first line of the parameter file compared to STIR example.

ORIGINAL PARAMETER FILE

output file format parameters:=

output file format type := ITK
ITK Output File Format Parameters:=
  ; use Nifti as output (could also use .mhdr, .nhdr etc)
  default extension:=.nii
End ITK Output File Format Parameters:=
END:=

MODIFIED PARAMETER FILE

outputfileformat parameters:=

output file format type := ITK
ITK Output File Format Parameters:=
  ; use Nifti as output (could also use .mhdr, .nhdr etc)
  default extension:=.nii
End ITK Output File Format Parameters:=
END:=
KrisThielemans commented 1 year ago

underlying reason is inconsistency in STIR https://github.com/UCL/STIR/issues/1216

KrisThielemans commented 1 year ago

@varzakis recompiling SIRF should now fix this problem