From 35ea790c19b6a09f7d0850cebe143f415c4ac5ff Mon Sep 17 00:00:00 2001 From: appel_c Date: Tue, 19 Sep 2023 10:38:48 +0200 Subject: [PATCH] fix: add documentation --- bec_plugins/utils/csaxs_post_archive.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bec_plugins/utils/csaxs_post_archive.py b/bec_plugins/utils/csaxs_post_archive.py index bb740d2..8f58f90 100755 --- a/bec_plugins/utils/csaxs_post_archive.py +++ b/bec_plugins/utils/csaxs_post_archive.py @@ -9,7 +9,8 @@ from bec_lib.core.file_utils import FileWriterMixin class csaxs_archiver: """Class to archive data from a beamtime. To run this script from a shell, go to discovery.psi.ch and copy your token. - Afterwards, get a Keberos token (kinit) for yourself in the shell that you run this code. + Afterwards, get a Keberos token (kinit) for yourself in the shell. + Activate the bec_venv by doing "source bec_venv/bin/activate" and then run this code via python $filename. As a last step, adjust the dictionary below in if __name__ == '__main__' with your token as well as information about the experiment """