Skip to content
Snippets Groups Projects
Commit 4843356d authored by Jacob Wahlman's avatar Jacob Wahlman :ok_hand:
Browse files

minor fixes

parent a9e29965
No related branches found
No related tags found
2 merge requests!33Resolve "Load/Save SFG to file",!27Resolve "Load/Save SFG to file"
Pipeline #13974 passed
......@@ -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
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment