Closed spycolyf closed 3 years ago
After building the application on windows (based of 84386e02746cd2), I was not able to reproduce the problem.
Command used to start the application:
SlicerQReads.exe --python-code "from QReads import QReadsLogic; QReadsLogic.loadDICOMDataDirectory('C:/D/SQR-data/BadOrientation')"
Screenshot of interface with toolbar:
OK, this is the command I've been using:
C:
cd C:\SlicerQReads-0.1.0-2021-04-08-win-amd64
SlicerQReads.exe --python-code "folder='.\TestImageVolumes\TestCompressed'; import os; slicer.util.loadVolume(folder + '/' + os.listdir(folder)[0], {'singleFile': False})"
It loads images but does not display the info in the title bar
Your command works:
SlicerQReads.exe --python-code "from QReads import QReadsLogic; QReadsLogic.loadDICOMDataDirectory('C:/SlicerQReads-0.1.0-2021-04-08-win-amd64/TestImageVolumes/TestCompressed')"
... but does not load images with the relative path. I guess the database does not consider the current path.
But, this is good! Thanks!
Solved! :-)
For future reference, the instructions to load data are in the README. See https://github.com/KitwareMedical/SlicerQReads#command-line-arguments
The DICOM values don't appear in the SlicerQREADS title bar. Here in the error output...