inlab-geo / espresso

Earth Science PRoblems for the Evaluation of Strategies, Solvers and Optimizers
https://geo-espresso.readthedocs.io
Other
12 stars 9 forks source link

Wrap extra parameters as a part of problem class attributes #34

Closed jwhhh closed 2 years ago

jwhhh commented 2 years ago

We'd like each problem-specific parameters to be wrapped in a dictionary, and to access them like other fields.

Check this link about how to override __getattr__.