From 0afe594144f78fc6ab9885aab94e5bf17a76e234 Mon Sep 17 00:00:00 2001 From: Thomas Kluyver <thomas@kluyver.me.uk> Date: Thu, 19 Aug 2021 15:57:03 +0100 Subject: [PATCH] Save string path to python instead of Path object in YAML --- src/xfel_calibrate/calibrate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xfel_calibrate/calibrate.py b/src/xfel_calibrate/calibrate.py index a732b23b3..283e39dfc 100755 --- a/src/xfel_calibrate/calibrate.py +++ b/src/xfel_calibrate/calibrate.py @@ -1061,7 +1061,7 @@ def run(): 'author': author, } metadata['python-environment'] = { - 'path': user_venv, + 'path': python_exe, 'python-version': get_python_version(python_exe), } metadata.save() -- GitLab