Traceback (most recent call last): File "D:\Server_Apps\python27\Scripts\openrem_qr.py", line 14, in <module> sys.exit(qrscu_script(sys.argv)) File "D:\Server_Apps\python27\lib\site-packages\openrem\remapp\netdicom\qrscu.py", line 947, in qrscu_script study_desc_inc = map(str.lower, map(str.strip, args.desc_include.split(u',')))TypeError: descriptor 'strip' requires a 'str' object but received a 'unicode'
Do you think this error may be because I'm running OpenREM 0.7.4 code everywhere except for your updated netdicom files?
No, from the error message that is probably due to the new files, and lack of testing of that element.
I'm glad the non-text string tests worked nicely. I'll add a test if I can and fix the versions with the text.
I meant to say, thanks for testing for me @dplatten!
@edmcdonagh, I tried to use this new code to retrieve CT data from PACS, but it only fetches RDSR objects. Does it have a switch to make it fetch images too? I need to be able to retrieve images for the majority of our CT scanners. Thanks.
Are you trying to get Philips dose screens, or something else? What scanners are you after images from?
I need to be able to get:
Philips dose screens from a Brilliance 64
Toshiba dose screens from an Aquilion CX and an Aquilion CXL. Dose screens from these come as a pair of images, so I need at least two images retrieved from each series
I don't expect it to work for your Toshiba extensions - that's the next job. Does it work for the Phillips? If, then I need to fix it!
I've just checked the log files. It works perfectly for the Philips dose summary objects.
Refactored arg parser so it can be tested, added initial test. Refs #528