I think ideally the code looks more like "import the pmps class and create it"
and less like "here's a string path to a python file to exec", so long as the
pydm application would support it.
Current Behavior
We call PyDMApplication and direct its ui_file arg to the right python file (source)
Possible Solution
Refactor the package a smidge. Doing this might require us to do more PyDM initialization.
A note: I did try creating the display under a vanilla QApplication, but got a lot of EPICS connection errors. For example this fails on teardown:
Expected Behavior
From Zach:
Current Behavior
We call
PyDMApplication
and direct its ui_file arg to the right python file (source)Possible Solution
Refactor the package a smidge. Doing this might require us to do more PyDM initialization.
A note: I did try creating the display under a vanilla
QApplication
, but got a lot of EPICS connection errors. For example this fails on teardown:Context
Brought up in #100
Your Environment
pcds-5.8.1