comparison get_out_folder.py @ 0:49b6d76139da draft

planemo upload for repository https://github.com/muon-spectroscopy-computational-project/muon-galaxy-tools/main/pm_muairss_read commit d130cf2c46d933fa9d0214ddbd5ddf860f322dc4
author muon-spectroscopy-computational-project
date Thu, 25 Aug 2022 16:18:39 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:49b6d76139da
1 import sys
2
3 import yaml
4
5
6 try:
7 with open('params.yaml') as f:
8 data = yaml.safe_load(f)
9 sys.stdout.write(data['out_folder'])
10 except KeyError or FileNotFoundError:
11 sys.stdout.write('muon-airss-out')