Mercurial > repos > muon-spectroscopy-computational-project > pm_dftb_opt
view get_out_folder.py @ 2:6a99165bb7ca draft
planemo upload for repository https://github.com/muon-spectroscopy-computational-project/muon-galaxy-tools/main/pm_dftb_opt commit 4f06b404d8b7fb83995f3052faa7e2ec7811f507
author | muon-spectroscopy-computational-project |
---|---|
date | Fri, 03 Feb 2023 15:39:23 +0000 |
parents | 43fb752fc295 |
children |
line wrap: on
line source
import sys import yaml try: with open('params.yaml') as f: data = yaml.safe_load(f) sys.stdout.write(data['out_folder']) except KeyError: sys.stdout.write('muon-airss-out')