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
There may be use cases where there is information that is needed by multiple Plugins i.e experiment number. In the current schema, this info would have to be duplicated in the YAML file.
Possible Solution
Add an extra class attribute to the BasePlugin called extraneous. This would point to other information in the YAML file that may not be underneath the Plugin explicitly. Then in load_conf.py the extraneous list is checked any additional information needed is added to the info dictionary directly.
For example
An even simpler implementation might be to not require an extraneous argument at all, and let all plugins reference the original yaml dictionary. Solid idea.
Expected Behavior
There may be use cases where there is information that is needed by multiple Plugins i.e experiment number. In the current schema, this info would have to be duplicated in the YAML file.
Possible Solution
Add an extra class attribute to the
BasePlugin
calledextraneous
. This would point to other information in the YAML file that may not be underneath the Plugin explicitly. Then inload_conf.py
theextraneous
list is checked any additional information needed is added to theinfo
dictionary directly.For example
YAML file
Happi Plugin
The text was updated successfully, but these errors were encountered: