You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is probably one for Tom.
The variable type "Ident" should not be passes as object of itself but its content.
Or in short: Variables should be evaluated (one layer) before sending to python.
_a=1
pytest(_a)
returns
"\<class \'MDSplus.ident.Ident'\>"
instead of
"<class 'MDSplus.mdsscalar.Int32'>"
Since the variable does not exist inside the python environment getting its value will fail.
The same holds for MDSplus.tdibuiltins.builtins_other.*, such as IF_ERROR. However, these could be buffered using:
_b=IF_ERROR(_a,*);pytest(_b)
pytest.py:
defpytest ( arg ):
returnstr(type(arg))
The text was updated successfully, but these errors were encountered:
This is probably one for Tom.
The variable type "Ident" should not be passes as object of itself but
its content.
Or in short: Variables should be evaluated (one layer) before sending
to python.
_a=1
pytest(_a)
returns
""
instead of
""
since the variable does not exist inside the python environment
getting its value will fail
—
Reply to this email directly or view it on GitHub #78.
This is probably one for Tom.
The variable type "Ident" should not be passes as object of itself but its content.
Or in short: Variables should be evaluated (one layer) before sending to python.
returns
instead of
Since the variable does not exist inside the python environment getting its value will fail.
The same holds for MDSplus.tdibuiltins.builtins_other.*, such as IF_ERROR. However, these could be buffered using:
pytest.py:
The text was updated successfully, but these errors were encountered: