Fusion-Data-Platform / fdf

Obsolete FDF repo - see FDP repo for current development
MIT License
2 stars 0 forks source link

dir(nstx.s140000.mpts) #11

Closed drsmith48 closed 9 years ago

drsmith48 commented 9 years ago

Is it possible to clean up dir() of diagnostic container with dir method? dir(nstx) and dir(nstx.s140000) give nice output.

Presently:

dir(nstx.s140000.mpts) ['class', 'delattr', 'dict', 'doc', 'format', 'getattr', 'getattribute', 'hash', 'init', 'module', 'new', 'reduce', 'reduce_ex', 'repr', 'setattr', 'sizeof', 'str', 'subclasshook', 'weakref', '_classes', '_diagnostic', '_instances', '_name', '_parent', '_radius', '_root', '_time', 'comment', 'mdspath', 'mdstree', 'ne', 'plot', 'shot', 'spline', 'te', 'valid']

ktritz commented 9 years ago

Done, though some things might need to be cleaned up at the signal level. Private attributes starting with '_' are filtered out, but there are some attributes that don't have the underscore that probably should, like 'slic'.