LSSTDESC / rail_base

Base classes for RAIL
MIT License
0 stars 1 forks source link

Add test to catch parameters that are not streamable to yaml #113

Closed eacharles closed 4 months ago

eacharles commented 5 months ago

Basically, if we want to use yaml.safe_load() to read configuration files (and to keep them readable) then the stage config parameters have to be of simple types.

There are a few thing that break this, like trying to have a numpy array or a tuple as a stage parameter.

This will add a test to catch these cases, and fix a few outstanding cases.

eacharles commented 4 months ago

done in #114