Skip to content

Commit

Permalink
Use EKO.read instead of EKO.edit
Browse files Browse the repository at this point in the history
  • Loading branch information
andreab1997 committed Sep 20, 2023
1 parent d7ef1b8 commit 8b2a634
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pineko/theory.py
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ def fk(self, name, grid_path, tcard, pdf):
if not np.isclose(xif, 1.0):
check_scvar_evolve(grid, max_as, max_al, check.Scale.FACT)
# loading ekos to produce a tmp copy
with eko.EKO.edit(eko_filename) as operators:
with eko.EKO.read(eko_filename) as operators:
eko_tmp_path = operators.paths.root.parent / "eko-tmp.tar"
operators.deepcopy(eko_tmp_path)
with eko.EKO.edit(eko_tmp_path) as operators:
Expand Down

0 comments on commit 8b2a634

Please sign in to comment.