diff --git a/src/cript/nodes/core.py b/src/cript/nodes/core.py index fcdd2f46..0ecdaeac 100644 --- a/src/cript/nodes/core.py +++ b/src/cript/nodes/core.py @@ -293,10 +293,10 @@ def get_expanded_json(self, **kwargs) -> str: >>> my_project = cript.Project(name=f"my_Project") >>> my_collection = cript.Collection(name="my collection") >>> my_material_1 = cript.Material( - ... name="my material 1", bigsmiles = "my material 1 bigsmiles"}] + ... name="my material 1", bigsmiles = "my material 1 bigsmiles"] ... ) >>> my_material_2 = cript.Material( - ... name="my material 2", bigsmiles = "my material 2 bigsmiles"}] + ... name="my material 2", bigsmiles = "my material 2 bigsmiles"] ... ) >>> my_inventory = cript.Inventory( ... name="my inventory", material=[my_material_1, my_material_2] @@ -511,10 +511,10 @@ def find_children(self, search_attr: dict, search_depth: int = -1, handled_nodes >>> my_project = cript.Project(name=f"my_Project") >>> my_collection = cript.Collection(name="my collection") >>> my_material_1 = cript.Material( - ... name="my material 1", bigsmiles = "my material 1 bigsmiles"}] + ... name="my material 1", bigsmiles = "my material 1 bigsmiles"] ... ) >>> my_material_2 = cript.Material( - ... name="my material 2", bigsmiles = "my material 2 bigsmiles"}] + ... name="my material 2", bigsmiles = "my material 2 bigsmiles"] ... ) >>> my_inventory = cript.Inventory( ... name="my inventory", material=[my_material_1, my_material_2] diff --git a/tests/fixtures/primary_nodes.py b/tests/fixtures/primary_nodes.py index 8a917658..65fbf022 100644 --- a/tests/fixtures/primary_nodes.py +++ b/tests/fixtures/primary_nodes.py @@ -219,7 +219,7 @@ def simple_material_node() -> cript.Material: simple material node to use between tests """ # Use a unique name - my_material = cript.Material(name="my test material " + str(uuid.uuid4()), bigsmiles="{[][$]CC[$][]}") + my_material = cript.Material(name="my test material " + str(uuid.uuid4()), bigsmiles="{[][$]COC[$][]}") return my_material