diff options
Diffstat (limited to 'python/calibrate_tranches_BC.py')
| -rw-r--r-- | python/calibrate_tranches_BC.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/calibrate_tranches_BC.py b/python/calibrate_tranches_BC.py index 8fde82e9..1e1b2512 100644 --- a/python/calibrate_tranches_BC.py +++ b/python/calibrate_tranches_BC.py @@ -6,7 +6,7 @@ import logging import os import pandas as pd from pathlib import Path -from yaml import load +from yaml import full_load import argparse @@ -115,7 +115,7 @@ if __name__ == "__main__": config = {"runs": [(args.index, args.tenor)]} else: with (CODE_DIR / "etc" / args.config).open("r") as fh: - config = load(fh) + config = full_load(fh) for index, tenor in config["runs"]: begin_date = None |
