biohansel
biohansel copied to clipboard
Command-line arg variable name and SubtypingParams instance variable name synchronization
Command-line arg variable names should be synchronized with the SubtypingParams
so that they can be all checked for and assigned with a couple lines of code, e.g.:
for param_key in subtyping_params.__dict__.keys():
if param_key in args.__dict__:
subtyping_params.__dict__[param_key] = args.__dict__[param_key]
This would allow new user-adjustable params to be added with less boilerplate to ensure they are set appropriate and to easily reference where a particular command-line parameter is used.
Related to #61