error using the CLI DicomRemap with version greater than 1.5.2

63 views
Skip to first unread message

lambert...@gmail.com

unread,
Mar 4, 2019, 4:06:31 AM3/4/19
to DicomBrowser users
Hi

I often use DicomBrowser using the CLI (DicomSummarize/DicomRemap) on Linux and MaxOS. I routinely use the version 1.5.2 downloaded here http://nrg.wustl.edu/software/dicom-browser/command-line-interface/ and it works fine, very fine (thank you for this !)

Last week, I upgraded an XNAT server and also downloaded the last version of DicomBrowser 1.7.5. I just copied/pasted the two bash scripts 'DicomSummarize' and 'DicomRemap' and tested under Centos and MacOS.

'DicomSummarize' works fine, with only difference on a quote : 

529 29 franck@primage-mac $ diff created_by_1.5.2.cvs created_by_1.7.5.cvs 

1c1

< "Accession Number","remap AccessionNumber","Patient's Name","remap PatientName","Patient ID","remap PatientID","Patient Comments","remap PatientComments"

---

> "Accession Number","remap AccessionNumber","Patient’s Name","remap PatientName","Patient ID","remap PatientID","Patient Comments","remap PatientComments"



But 'DicomRemap' exits immediately with the error output : 

506 3 franck@primage-linux $ /opt/dicombrowser/bin/DicomRemap -c TEP_remap_config_file.xml -v TEP_DicomSummarized_new_version.csv -o new INPUT_DICOM_DIR

No DICOM objects found in [INPUT_DICOM_DIR]



The version 1.5.2 correctly find all the DICOM files in the subdirectory of INPUT_DICOM_DIR and do the job.

I've also tested and got the same error output with 1.7.0b5. So, only 'DicomRemap' in the version 1.5.2 seems to find the DICOM files.

Maybe I made a mistake copying the scripts. Have you any idea about this ?

Thank you in advance.

Franck

Reply all
Reply to author
Forward
0 new messages