Skip to content

Commit

Permalink
print theory card path for fonll_tcards
Browse files Browse the repository at this point in the history
  • Loading branch information
RoyStegeman committed Sep 29, 2023
1 parent 9aad606 commit 5bca6e7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/pineko/fonll.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

import numpy as np
import pineappl
import rich
import yaml

from . import configs
Expand Down Expand Up @@ -269,4 +270,5 @@ def produce_fonll_tcards(tcard, tcard_parent_path, theoryid):
with open(theorycard_path, "w", encoding="UTF-8") as f:
yaml.safe_dump(theorycard, f)
paths_list.append(theorycard_path)
rich.print(f"[green]Wrote theory card to {theorycard_path}")
return paths_list

0 comments on commit 5bca6e7

Please sign in to comment.