Closed alexattia closed 5 years ago
Hi @alexattia ,
Try to put quotes around the patient ID "number" in the query settings. (see error returned: TypeError: must be str, not int
)
query_settings = {
'PatientID': '1240084',
}
`
I did it and it returns an empty list. When I check server-side, on the PACS logs, nothing was computed. Although, when I run px-find
with the command line, the logs aren't empty.
My bad. I forgot to change the pacs_settings
from px-echo, it should be :
pacs_settings = {
'executable': '/usr/local/bin/findscu',
'aec': 'DCM4CHEE',
'aet': 'MYNAME',
'server_ip': 'SERVERIP',
'server_port': '11112',
}
Hello,
I am trying pypx and I am facing some errors.
Indeed, via command line it works fine (it returns a long list):
But, when I try it via the module
I have the error :
And when, I change the PatientId value to string, it returns an empty list.
Thank you in advance,