From 4843356d0402d94c683a12188402be85d17a2e5a Mon Sep 17 00:00:00 2001
From: Jacob Wahlman <jacwa448@student.liu.se>
Date: Fri, 24 Apr 2020 09:12:49 +0200
Subject: [PATCH] minor fixes

---
 b_asic/utils.py                  | 2 +-
 test/test_load_save_structure.py | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/b_asic/utils.py b/b_asic/utils.py
index 11f690c9..24ee5f62 100644
--- a/b_asic/utils.py
+++ b/b_asic/utils.py
@@ -51,6 +51,6 @@ def load_structure(_path: str) -> AbstractOperation:
         with open(_path, "rb") as handle:
             return dill.load(handle)
     except Exception as e:
-        print("Unexpected error occured while saving structure: ", e)
+        print("Unexpected error occured while loading structure: ", e)
     
     return None
diff --git a/test/test_load_save_structure.py b/test/test_load_save_structure.py
index d84d8da0..9e4190a9 100644
--- a/test/test_load_save_structure.py
+++ b/test/test_load_save_structure.py
@@ -49,4 +49,5 @@ class TestSaveStructures:
         _invalid_path = path.join(getcwd(), _folder, "cool.pickle") 
         _path = load_structure(_path=_invalid_path)
 
-        assert _path is None 
\ No newline at end of file
+        assert _path is None 
+        
\ No newline at end of file
-- 
GitLab