Skip to content

Commit bfb3834

Browse files
committed
Add eko compatibility layer
1 parent dda48e1 commit bfb3834

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/pineko/theory.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
import time
1111

1212
import eko
13+
import eko.compatibility
1314
import numpy as np
1415
import pineappl
1516
import rich
@@ -385,7 +386,8 @@ def fk(self, name, grid_path, tcard, pdf):
385386
)
386387
# collect alpha_s
387388
# TODO: move this down to evolve.evolve_grid when output contains cards
388-
astrong = sc.Couplings.from_dict(tcard)
389+
new_tcard = eko.compatibility.update_theory(tcard)
390+
astrong = sc.Couplings.from_dict(new_tcard)
389391
# ocard = self.load_operator_card(name)
390392
# q2_grid = ocard["Q2grid"]
391393

0 commit comments

Comments
 (0)