Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

treeshr's TreeSetUsage is broken #358

Closed
zack-vii opened this issue Feb 17, 2016 · 1 comment
Closed

treeshr's TreeSetUsage is broken #358

zack-vii opened this issue Feb 17, 2016 · 1 comment
Assignees

Comments

@zack-vii
Copy link
Contributor

import MDSplus
t = MDSplus.Tree('test',-1,'new')
n=t.addNode('S','TEXT')
t.write()
t.quit()
t = MDSplus.Tree('test',-1,'edit')
s=t.getNode('S')
s.setUsage('SIGNAL')

throws

MDSplus.mdsExceptions.treeshrExceptions.TreeILLEGAL_ITEM: %TREE-E-ILLEGAL_ITEM, Invalid item code or part number specified

@zack-vii
Copy link
Contributor Author

Solved, Thanks a lot ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants