From 29312c9f2bc7a423c1a684b6efb2c3afffa84d46 Mon Sep 17 00:00:00 2001 From: giacomomagni Date: Thu, 15 Feb 2024 14:03:30 +0100 Subject: [PATCH] restore commands --- src/pineko/cli/fonll.py | 3 ++- src/pineko/fonll.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/pineko/cli/fonll.py b/src/pineko/cli/fonll.py index 751d45be..43f9ff93 100644 --- a/src/pineko/cli/fonll.py +++ b/src/pineko/cli/fonll.py @@ -86,7 +86,7 @@ def fonll_tcards(theoryid, cfg): raise TheoryCardError("The theorycard does not correspond to an FONLL scheme.") fonll.dump_tcards(tcard, tcard_parent_path, theoryid) - +@command.command("fonll_ekos") @click.argument("theoryID", type=click.INT) @click.argument("datasets", type=click.STRING, nargs=-1) @click.option("--overwrite", is_flag=True, help="Allow files to be overwritten") @@ -144,6 +144,7 @@ def fonll_ekos(theoryid, datasets, overwrite, cfg): ) +@command.command("fonll_fks") @click.argument("theoryID", type=click.INT) @click.argument("datasets", type=click.STRING, nargs=-1) @click.option("--pdf", "-p", default=None, help="PDF set used for comparison") diff --git a/src/pineko/fonll.py b/src/pineko/fonll.py index 13440032..0ef2d695 100644 --- a/src/pineko/fonll.py +++ b/src/pineko/fonll.py @@ -10,7 +10,7 @@ import pineappl import yaml -from . import configs, theory_card, parser +from . import configs, parser, theory_card logger = logging.getLogger(__name__)