Josh Stillerman
Josh Stillerman
This does not actually work. The tree name and shot number needs to be cached in the __init__ (which runs in the parent thread) and then instantiated in the run...
Thank you for this very clear suggestion. We will update the documentation Since I did not track down when this behavior changed, and as Stephen says the code has not...
Please use other tools for tree edititng In general, you do not want to edit the trees on the fly in a multiuser environment
This is still not working. _index is not defined. Any prospect of adding this?
there are a bunch of places that call SendArg with 0 for this argument, will this cause a warning ? RemoteAccess.c appears to be the only place that calls it...
Ralph - The behavior you are getting is expected. Let me try to explain… The MDSplus.Connection object provides get and put methods. These are equivalent to the IDL/MATLAB MdsValue, MdsPut...
Actually I got mdsConnector to work with modern python: With particular versions of rpyc, dill and plumbum it does work! Remove them with pip and reinstall: ``` $ pip uninstall...
The new version of mdsconnector (1.8.0) should install and work with modern python. Let us know if you still have problems...
How about: ``` def preserve_units(thing): import MDSplus if thing.__class__ == MDSplus.WithUnits: return MDSplus.WithUnits(thing.data(), thing.units.data()) else: return thing.data() def freeze_signal(thing): import MDSplus if thing.__class__ == MDSplus.Signal: descs = thing.descs ans =...
When you write it back you should do: ``` new_node.record = s ```