Skip to content

lm_to_projdata does not support .hroot format in UnlistRoot.sh #99

@panstip

Description

@panstip

Hi,

I am trying to convert a ROOT file into a sinogram using UnlistRoot.sh, but I encountered an error indicating that lm_to_projdata does not support the .hroot format.

From what I understand, UnlistRoot.sh generates a parameter file (lm_to_projdata_template.par), where the input file is specified as {ROOT_FILENAME}.hroot. If .hroot is not supported, should it be converted to another format?

Any guidance would be appreciated, thanks !

STIR-GATE-Connection Unlisting ROOT data script
Unlisting /script/output/test.Coincidences.root
Unlisting with EXCLUDESCATTER = 1
Unlisting with EXCLUDERANDOM = 1
test /script/output/Unlisted/Coincidences
Copying template to /script/output/lm_to_projdata_test.Coincidences.par
No AcceptanceProb given, unlist all using standard to lm_to_projdata

WARNING: KeyParser warning: unrecognized keyword: seed

HDF5-DIAG: Error detected in HDF5 (1.14.3) thread 1:
  #000: H5F.c line 836 in H5Fopen(): unable to synchronously open file
    major: File accessibility
    minor: Unable to open file
  #001: H5F.c line 796 in H5F__open_api_common(): unable to open file
    major: File accessibility
    minor: Unable to open file
  #002: H5VLcallback.c line 3863 in H5VL_file_open(): open failed
    major: Virtual Object Layer
    minor: Can't open object
  #003: H5VLcallback.c line 3675 in H5VL__file_open(): open failed
    major: Virtual Object Layer
    minor: Can't open object
  #004: H5VLnative_file.c line 128 in H5VL__native_file_open(): unable to open file
    major: File accessibility
    minor: Unable to open file
  #005: H5Fint.c line 2018 in H5F_open(): unable to read superblock
    major: File accessibility
    minor: Read failed
  #006: H5Fsuper.c line 392 in H5F__super_read(): file signature not found
    major: File accessibility
    minor: Not an HDF5 file
Available input file formats:
SAFIR Coincidence Listmode File Format
SAFIR Coincidence Listmode File Format
ECAT8_32bit
GEHDF5

ERROR: no file format found that can read file '/script/output/test.Coincidences.hroot'
terminate called after throwing an instance of 'std::runtime_error'
  what():  no file format found that can read file '/script/output/test.Coincidences.hroot'
UnlistRoot.sh: line 161: 24600 Aborted                 lm_to_projdata ${LM_TO_PROJDATA_PAR_PATH}
ERROR in UnlistRoot.sh

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions