Skip to content

Commit

Permalink
Make eko keys more explicit
Browse files Browse the repository at this point in the history
  • Loading branch information
felixhekhorn committed Apr 17, 2024
1 parent 2e9bce8 commit 697af5f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pineko/evolve.py
Original file line number Diff line number Diff line change
Expand Up @@ -270,8 +270,8 @@ def evolve_grid(
rich.print(f"Optimizing for {assumptions}")
fktable.optimize(assumptions)
fktable.set_key_value("eko_version", operators.metadata.version)
fktable.set_key_value("eko_theory", json.dumps(operators.theory_card.raw))
fktable.set_key_value("eko_operator", json.dumps(operators.operator_card.raw))
fktable.set_key_value("eko_theory_card", json.dumps(operators.theory_card.raw))
fktable.set_key_value("eko_operator_card", json.dumps(operators.operator_card.raw))
fktable.set_key_value("pineko_version", version.__version__)
# compare before/after
comparison = None
Expand Down

0 comments on commit 697af5f

Please sign in to comment.