moved naming of enum types
moved adjusting of the name of enum types from the parameter name to secop.datatypes.get_datatype + ignore additional items in datainfo (must-ignore policy) Change-Id: Id1bb089c33729f15f06ad51e5c03bb333ef3c307 Reviewed-on: https://forge.frm2.tum.de/review/c/sine2020/secop/playground/+/22513 Tested-by: JenkinsCodeReview <bjoern_pedersen@frm2.tum.de> Reviewed-by: Markus Zolliker <markus.zolliker@psi.ch>
This commit is contained in:
@ -176,7 +176,7 @@ class Module(HasProperties, metaclass=ModuleMeta):
|
||||
# paramobj might also be a command (not sure if this is needed)
|
||||
if paramobj:
|
||||
if propname == 'datatype':
|
||||
paramobj.setProperty('datatype', get_datatype(cfgdict.pop(k)))
|
||||
paramobj.setProperty('datatype', get_datatype(cfgdict.pop(k), k))
|
||||
elif propname in paramobj.getProperties():
|
||||
paramobj.setProperty(propname, cfgdict.pop(k))
|
||||
else:
|
||||
|
Reference in New Issue
Block a user