Emory-HITI / Niffler

Niffler: A DICOM Framework for Machine Learning and Processing Pipelines.
https://emory-hiti.github.io/Niffler/
BSD 3-Clause "New" or "Revised" License
90 stars 53 forks source link

png-extractor module not working in arch linux #268

Closed Nitesh639 closed 2 years ago

Nitesh639 commented 2 years ago

I have installed all the python dependencies, gdcm (yay -S gdcm). Then I placed dicom image and modified config as required. It generates all the folders but generates no png file and shows no error. I expect a png image in my output directory.
I am attaching ImageExtractor.out, i.e. the log file with it. It shows there are no files in that folder though there are files present.

ImageExtractor.out.txt ImageExtractor.pickle.txt

python that I have is 3.10.4

pradeeban commented 2 years ago

Let's see what is happening.

That error usually means you do not have the files present in the expected directory or in the expected hierarchy.

{ "DICOMHome": "/opt/data/new-study", "OutputDirectory": "/opt/data/new-study/root", "Depth": 0, "SplitIntoChunks": 1, "PrintImages": true, "CommonHeadersOnly": false, "UseProcesses": 0, "FlattenedToLevel": "patient", "is16Bit":true, "SendEmail": true, "YourEmail": "test@test.test" }

Can you please attach your config.json of the png-extractor module?

Then also attach the folder hierarchy of the DICOMHome folder. You can achieve that by running: tree DICOMHome > tree.txt

(of course, replacing DICOMHome above in the tree command with the correct DICOMHome you have set. You will need to install "tree", if you do not have it installed. https://archlinux.org/packages/extra/x86_64/tree/ )

Nitesh639 commented 2 years ago

Thank you for helping me debug. It was a mistake from my side. I was using DCM files with extension in Capital letters.

pradeeban commented 2 years ago

No worries. Thanks a lot for confirming that Niffler works in Arch Linux with python 3.10.4 well for you.