From 65febce05c01052ca91b20e736eb5a88ef2ef006 Mon Sep 17 00:00:00 2001 From: Fred Boniface Date: Sat, 22 Apr 2023 22:26:23 +0100 Subject: [PATCH] Add notes --- data/pis/{gwr-west.yaml => gwr.yaml} | 0 src/pis.py | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) rename data/pis/{gwr-west.yaml => gwr.yaml} (100%) diff --git a/data/pis/gwr-west.yaml b/data/pis/gwr.yaml similarity index 100% rename from data/pis/gwr-west.yaml rename to data/pis/gwr.yaml diff --git a/src/pis.py b/src/pis.py index fbccf3d..85d4f01 100644 --- a/src/pis.py +++ b/src/pis.py @@ -1,7 +1,7 @@ import yaml -def load(): - with open("../data/pis/gwr-west.yaml", "r") as data: +def load(): # Programatically add a `toc` field to each entry. + with open("../data/pis/gwr.yaml", "r") as data: try: pis = yaml.safe_load(data) print(pis)