Skip to content

Commit

Permalink
remove duplicated print statement
Browse files Browse the repository at this point in the history
  • Loading branch information
giacomomagni committed Jun 4, 2024
1 parent 929726d commit ea263a4
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/pineko/cli/opcard.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
)

0 comments on commit ea263a4

Please sign in to comment.