sefffal / Octofitter.jl

Octofitter is a Julia package for performing Bayesian inference against direct images of exoplanets, relative astrometry, and astrometric acceleration of the host star.
https://sefffal.github.io/Octofitter.jl/dev
MIT License
33 stars 2 forks source link

Better error messages for when model is not correctly specified #8

Open sefffal opened 2 years ago

sefffal commented 2 years ago

Instead of giving a nested task error and a named tuple error, check and throw an error if not all required variables are defined in the model or if there are duplicates.