Streamline cpalgs_config.py
The cpalgs_config
module is doing too much work. It does all of the following:
- decide which CP alg sequences to configure and merge based on flags
- propagate the appropriate container names
- provide semi-detailed configuration for each object type
Furthermore, it and the functions it calls duplicate flag information in their arguments.
This issue is to agree on how to restructure the module before starting implementation.
For discussion:
- The boolean flags (
do_X
) for active collections are useful, but we could consolidate these into a list that could be looped over to configure CP alg and/or output CAs. - The
disable_calib
flag could now be implemented as a super-toggle for all of the object flags, but might be better off being deprecated so that we don't have too many layers of interacting toggles.
TO DO:
-
Move all container names and options into the collection-specific configurations -
Remove all function arguments that are Analysis
flags
Edited by Teng Jian Khoo