hpc4cmb / toast

Time Ordered Astrophysics Scalable Tools
Other
44 stars 39 forks source link

When parsing config files, handle compatible types #734

Closed tskisner closed 8 months ago

tskisner commented 8 months ago

Due to the way we are writing TOML and YAML files for user-friendly editing, the true type of traits loaded from those formats can be ambiguous. This work adds checks to allow assignment from compatible types when merging the values loaded from config files with the current state of trait properties.