Skip to content

Commit

Permalink
Corrected database cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
t-bellier committed Sep 5, 2023
1 parent 5c07c61 commit b1977db
Show file tree
Hide file tree
Showing 5 changed files with 1,270 additions and 1 deletion.
1 change: 1 addition & 0 deletions lca4mdao/component.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ def compute(self, inputs, outputs, discrete_inputs=None, discrete_outputs=None):
def _setup_procs(self, pathname, comm, mode, prob_meta):
super()._setup_procs(pathname, comm, mode, prob_meta)
# TODO check dependency chain if multiple LCA modules
# TODO check units at that stage
for name, param in MdaoParameter.load().items():
self.add_input(param["mdao_name"], val=param["amount"], tags='lca')
self.declare_partials(['*'], ['*'], method='fd')
Expand Down
Loading

0 comments on commit b1977db

Please sign in to comment.