Changes required to allow for persistent state in controllers in a neater way. Mostly simon's codes ..
Introduced the following classes: Agent and AgentBasedController. The test case here demonstrates how the same agent can be used to remember state across injections.
Some code restructuring: get_ms1_scan_params and get_ms2_scan_params stay as they are in the base controller, but inside they call these methods which are now moved to Common.py (previously they were in the environment).
Changes required to allow for persistent state in controllers in a neater way. Mostly simon's codes ..
get_ms1_scan_params
andget_ms2_scan_params
stay as they are in the base controller, but inside they call these methods which are now moved to Common.py (previously they were in the environment).