summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBirte Kristina Friesel <birte.friesel@uos.de>2024-01-12 11:19:30 +0100
committerBirte Kristina Friesel <birte.friesel@uos.de>2024-01-12 11:19:30 +0100
commitf77ac2e4422c3cc30aa6071167f10753e3ae2fb2 (patch)
tree029bc532219f6b7363ffd6995f8949c5d158b919
parentc3043d8537e4dceb303929582dab92a6024924ce (diff)
--export-dref: store commandline in .tex file
-rw-r--r--lib/cli.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/cli.py b/lib/cli.py
index 28e2004..9da8a75 100644
--- a/lib/cli.py
+++ b/lib/cli.py
@@ -260,6 +260,8 @@ def model_quality_table(
def export_dataref(dref_file, dref, precision=None):
with open(dref_file, "w") as f:
+ for arg in sys.argv:
+ print(f"% {arg}", file=f)
for k, v in sorted(dref.items()):
if type(v) is not tuple:
v = (v, None)