Closed inamoto85 closed 1 day ago
@inamoto85, was this ever resolved? I had PyESAPI code that successfully ran RapidPlan estimates, but I don't remember having your issue with TPS core.
See here: https://www.reddit.com/r/esapi/comments/gmk6nt/issue_with_calculatedvhestimates_and_rapidplan/
A workaround might be to create a small C# app to do the DVH prediction alone and call it from Python (making sure you close the patient first).
Hello,
We are trying to call the
CalculateDVHEstimates
via pyESAPI (ESAPI version = 15.6.) gets an "Cannot locate TPS core" error. The error message is listed as below:Because the python original
dict
is not directly recognizable for theCalculateDVHEstimates
function, we have tried to convert the pythondict
with thepythonnet
Dictionary likeThis seems to cause a confusion for the TPS Core resolution. I have tried to use the
Dictionary
andString
types inpyesapi.stubs
, but they do not seem to be functional. Any idea how to circumvent this issue?