oie-mines-paristech / lca_algebraic

Layer over brightway2 for algebraic definition of parametric models and super fast computation of LCA
BSD 2-Clause "Simplified" License
34 stars 18 forks source link

oat_matrix : parameters called by name no more supported #12

Open raphaeljolivet opened 2 years ago

raphaeljolivet commented 2 years ago

The decorator @with_db_context breaks call like oat_matrix(model=....) The decorator should not assume positionnal parameters and take the name of the parameter to consider instead (using a bit of introspection)