summaryrefslogtreecommitdiff
path: root/lib/cli.py
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2022-12-22 10:33:44 +0100
committerDaniel Friesel <daniel.friesel@uos.de>2022-12-22 10:33:44 +0100
commit293f636491aae95e472bb99350791b8393131798 (patch)
treedc026d64bffa17501ac3169896bfda82954f485a /lib/cli.py
parent6dd31dbb98375b715fcbe463cebd35850f2781e3 (diff)
... oops
Diffstat (limited to 'lib/cli.py')
-rw-r--r--lib/cli.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/cli.py b/lib/cli.py
index 5ab0cb0..459d7ad 100644
--- a/lib/cli.py
+++ b/lib/cli.py
@@ -159,7 +159,6 @@ def export_dataref(dref_file, dref, precision=None):
else:
prefix = r"\drefset" + f"[unit={v[1]}]" + "{"
if type(v[0]) in (float, np.float64) and precision is not None:
- print(f"Limiting precision to {precision}")
print(f"{prefix}/{k}" + "}{" + f"{v[0]:.{precision}f}" + "}", file=f)
else:
print(f"{prefix}/{k}" + "}{" + str(v[0]) + "}", file=f)