Skip to content

Commit

Permalink
Rotate the eko back to save disk space
Browse files Browse the repository at this point in the history
  • Loading branch information
andreab1997 committed Sep 18, 2023
1 parent e4d2b1c commit 1960c7c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/pineko/evolve.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,10 @@ def evolve_grid(
order_mask=order_mask,
xi=(xir, xif),
)
# Rotate again the eko to save disk space
eko.io.manipulate.xgrid_reshape(
operators, targetgrid=opcard.xgrid
)
rich.print(f"Optimizing for {assumptions}")
fktable.optimize(assumptions)
fktable.set_key_value("eko_version", operators.metadata.version)
Expand Down

0 comments on commit 1960c7c

Please sign in to comment.