fix: small adjustments of ddocs and function call
This commit is contained in:
@@ -9,6 +9,7 @@ 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.
|
||||
Complement the information in user_input below in the if __name__ == __main__ part of the script.
|
||||
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
|
||||
@@ -143,7 +144,10 @@ if __name__ == "__main__":
|
||||
"eacc": "e20643",
|
||||
"pi": "Marianne Liebi",
|
||||
"pi_email": "marianne.liebi@psi.ch",
|
||||
'log_path' : '~/Data10/documentation/ingestion_logs/'
|
||||
'log_path' : '~/Data10/documentation/ingestion_logs/',
|
||||
'token' : '',
|
||||
'start_scan' : 0,
|
||||
'stop_scan' : 0,
|
||||
}
|
||||
archiver = csaxs_archiver(start_scan=1, stop_scan=349, token='', **user_input)
|
||||
archiver = csaxs_archiver(**user_input)
|
||||
archiver.run_for_all_scans()
|
||||
|
||||
Reference in New Issue
Block a user