diff options
author | Birte Kristina Friesel <birte.friesel@uos.de> | 2024-03-19 15:21:52 +0100 |
---|---|---|
committer | Birte Kristina Friesel <birte.friesel@uos.de> | 2024-03-19 15:21:52 +0100 |
commit | 972bcef0202e97d39e3bda4297961d5616e7cc3c (patch) | |
tree | 2325c63aaa2684e5f8b8ddac15e1549fd6308b54 /lib | |
parent | 8e59d0d8fc75b68774f3553a22e992a062e54fa7 (diff) |
cli: dataref export: sort by env names rather than values. oops.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/cli.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -336,7 +336,7 @@ def model_quality_table( def export_dataref(dref_file, dref, precision=None): with open(dref_file, "w") as f: - for k, v in sorted(os.environ.items(), key=lambda kv: kv[1]): + for k, v in sorted(os.environ.items(), key=lambda kv: kv[0]): if k.startswith("DFATOOL_"): print(f"% {k}='{v}'", file=f) for arg in sys.argv: |