Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions src/pineko/cli/check.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ def sub_compatibility(grid_path, operator_path, xif, max_as, max_al):

"""
pineappl_grid = pineappl.grid.Grid.read(grid_path)
pineappl_grid.optimize()
with eko.EKO.read(pathlib.Path(operator_path)) as operators:
for (q2, _), _ in operators.items():
try:
Expand Down Expand Up @@ -88,7 +87,6 @@ class Coupling(Enum):
def sub_scvar(grid_path, scale, max_as_order, max_al_order):
"""Check if PineAPPL grid contains requested scale variations for the requested order."""
grid = pineappl.grid.Grid.read(grid_path)
grid.optimize()

# Call the function
scaleobj = check.Scale[scale]
Expand Down
1 change: 0 additions & 1 deletion src/pineko/cli/convolve.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ def subcommand(
The PDFs are passed as strings with the names separated by commas.
"""
grid = pineappl.grid.Grid.read(grid_path)
grid.optimize()
n_ekos = len(op_paths)
tcard = theory_card.load(theoryid)
with eko.EKO.edit(pathlib.Path(op_paths[0])) as first_operator:
Expand Down
1 change: 0 additions & 1 deletion src/pineko/evolve.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,6 @@ def write_operator_card_from_file(
if not pathlib.Path(pineappl_path).exists():
raise FileNotFoundError(pineappl_path)
pineappl_grid = pineappl.grid.Grid.read(pineappl_path)
pineappl_grid.optimize()
default_card = yaml.safe_load(
pathlib.Path(default_card_path).read_text(encoding="utf-8")
)
Expand Down
1 change: 0 additions & 1 deletion src/pineko/theory.py
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,6 @@ def fk(self, name, grid_path, tcard, pdfs):
# loading grid
grid = pineappl.grid.Grid.read(grid_path)
# remove zero subgrid
grid.optimize()

# Do you need one or multiple ekos?
names = get_eko_names(grid_path, name, filter=False)
Expand Down
Loading