Some methods in class abcdstats.workflow.Basic (aka abcdstats.BasicWorkflow) are general purpose / useful outside of our workflow and could be moved to new classes. If they are moved to different classes, the Basic class can either (1) subclass the new classes or (2) set instances of the new classes as self. variables. Either way, the user who wishes to override one of the moved methods can subclass Basic and, respectively, (1) directly override the methods, or (2) override Basic.__init__ and set any new self. variable to an instance of a class that subclasses the original value of that variable.
Candidate groups for delegation are:
allclose_affines
merge_df_list,pandas_replace
lint, check_fields, recursive_check_fields, check_files, check_file_internal, check_csv
configure, config_get, copy_keys_into
... or combine them into groups differently.
Some methods in
class abcdstats.workflow.Basic(akaabcdstats.BasicWorkflow) are general purpose / useful outside of our workflow and could be moved to new classes. If they are moved to different classes, theBasicclass can either (1) subclass the new classes or (2) set instances of the new classes asself.variables. Either way, the user who wishes to override one of the moved methods can subclassBasicand, respectively, (1) directly override the methods, or (2) overrideBasic.__init__and set any newself.variable to an instance of a class that subclasses the original value of that variable.Candidate groups for delegation are:
allclose_affinesmerge_df_list,pandas_replacelint,check_fields,recursive_check_fields,check_files,check_file_internal,check_csvconfigure,config_get,copy_keys_into... or combine them into groups differently.