Coverage for rocketisp\parse_docstring.py : 85%

Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
""" Given a class __doc__ string, parse the definitions and units of each input parameter. return descD and unitsD dictionaries. (only recognize units in unit_conv_data) """
else:
# only recognize units in unit_conv_data else:
from rocketisp.geometry import Geometry from rocketisp.injector import Injector
descD, unitsD, is_inputD = get_desc_and_units( Geometry.__doc__ ) for name, desc in descD.items(): print( name, ' inp=',is_inputD[name], unitsD[name], desc )
|