Skip to content

v1.0.2

Latest

Choose a tag to compare

@github-actions github-actions released this 16 Jan 13:32
· 1 commit to main since this release

SFHWorkflows v1.0.2

Diff since v1.0.1

  • Write input config to input.yml in the output directory
  • Validate filters listed in the binning section of the config with those listed in the data/photometry section

Because you can read in an example config as a dictionary with YAML.load_file(...), and then edit the dictionary, and then call fit_sfh, the original config file may not reflect the parameters that the results were run with. This inserts in the parse_config(::AbstractDict) method a write of the config dictionary to a file in the output directory. This way even if you altered the config dictionary programmatically, you still have a record of what parameters the code was run with.

This also adds validation of the input yfilter and xcolor from the binning section of the config against the filters that were defined in the config["data"]["photometry"]["binning"] section so that a user-friendly error is surfaced if the filters differ between these two sections.

Closed issues:

  • Verify photometry filters against AST filters during parsing (#6)