Skip to content

Commit

Permalink
init bumping of pineappl
Browse files Browse the repository at this point in the history
  • Loading branch information
Radonirinaunimi committed Aug 7, 2024
1 parent 7896dda commit 9bcc7df
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ pkgconfig = "^1.5.5"
pygit2 = "^1.12.0"
requests = "^2.26.0"
lhapdf-management = "^0.3"
pineappl = "^0.7.2"
pineappl = "^0.8.0"
more-itertools = "^8.10.0"
appdirs = "^1.4.4"
tomli = "^2.0.1"
Expand Down
2 changes: 1 addition & 1 deletion src/pinefarm/cli/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def run_dataset(runner):
runner.generate_pineappl()

table.print_table(
table.convolute_grid(
table.convolve_grid(
runner.grid, runner.pdf, integrated=isinstance(runner, mg5.Mg5)
),
runner.results(),
Expand Down
2 changes: 1 addition & 1 deletion src/pinefarm/external/interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def generate_pineappl(self):
Returns
-------
str
output of ``pineappl convolute`` on the generate grid and selected
output of ``pineappl convolve`` on the generate grid and selected
:attr:`pdf`
"""
Expand Down
6 changes: 3 additions & 3 deletions src/pinefarm/table.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
from . import tools


def convolute_grid(grid, pdf_name, integrated=False):
"""Call `convolute` via PineAPPL CLI.
def convolve_grid(grid, pdf_name, integrated=False):
"""Call `convolve` via PineAPPL CLI.
Parameters
----------
Expand All @@ -31,7 +31,7 @@ def convolute_grid(grid, pdf_name, integrated=False):

pdf = lhapdf.mkPDF(pdf_name)
loaded_grid = pineappl.grid.Grid.read(str(grid))
pineappl_results = loaded_grid.convolute_with_one(
pineappl_results = loaded_grid.convolve_with_one(
2212, pdf.xfxQ2, pdf.alphasQ2, xi=tools.nine_points
)

Expand Down

0 comments on commit 9bcc7df

Please sign in to comment.