Closed robraddi closed 6 years ago
Example code for reading YAML file:
import yaml,io with io.open('./traj_lambda0.00.yaml','r') as file: loaded_data = yaml.load(file) print('%s'%loaded_data).replace(" '","\n\n '")
Function added in the new toolbox.py: https://github.com/vvoelz/nmr-biceps/blob/master/BICePs_2.0/src/toolbox.py
Example code for reading YAML file: