diff --git a/src/pineko/cli/opcard.py b/src/pineko/cli/opcard.py index 7fa95494..530b53b7 100644 --- a/src/pineko/cli/opcard.py +++ b/src/pineko/cli/opcard.py @@ -28,9 +28,7 @@ def subcommand(pineappl_path, default_card_path, thcard_path, opcard_path): """ tcard = yaml.safe_load(pathlib.Path(thcard_path).read_text(encoding="utf-8")) + opcard_path = pathlib.Path(opcard_path) _x_grid, q2_grid = evolve.write_operator_card_from_file( pineappl_path, default_card_path, opcard_path, tcard ) - rich.print( - f"[green]Success:[/] Wrote card with {len(q2_grid)} Q2 points to {opcard_path}" - )