UCL / pet-rd-tools

Command line tools for PET-MR (pre-)processing
Apache License 2.0
13 stars 4 forks source link

nm_extract listmode file extracting warning message with mMR .bf file #41

Open KrisThielemans opened 4 years ago

KrisThielemans commented 4 years ago

when running nm_extract on a mMR dcm file for a list file that has the .bf, it writes a warning like

expected number of LM words: <large number>
10240 bytes in LM fields
10240 / 4 = 2560 words
Expect no. of LM words does not equal no. read!
Looking for BF file...
...
.bf file size in bytes: .< largenumber*4>

Everything seems fine but the warning is confusing. I think it'd be better to say something like

Expected no. of LM words does not equal to the size of the LM fields. I'm going to look for a BF file

possibly also write that the .bf file size is correct.