From b075ce8beb7f9bbf630d77f61da8d08ef68e57be Mon Sep 17 00:00:00 2001
From: Daniel <d.hornung@indiscale.com>
Date: Tue, 24 Oct 2023 11:25:52 +0200
Subject: [PATCH] MAINT: Added NotImplementedError.

---
 src/caosadvancedtools/models/parser.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/caosadvancedtools/models/parser.py b/src/caosadvancedtools/models/parser.py
index b354c42b..25b5727c 100644
--- a/src/caosadvancedtools/models/parser.py
+++ b/src/caosadvancedtools/models/parser.py
@@ -198,7 +198,7 @@ def parse_model_from_json_schema(
         ignored. Default is False.
 
     existing_model : dict, optional
-        An existing model to which the created model shall be added.
+        An existing model to which the created model shall be added.  Not implemented yet.
 
     Returns
     -------
@@ -213,6 +213,9 @@ def parse_model_from_json_schema(
     about the limitations of the current implementation.
 
     """
+    if existing_model is not None:
+        raise NotImplementedError("Adding to an existing model is not implemented yet.")
+
     # @author Florian Spreckelsen
     # @date 2022-02-17
     # @review Timm Fitschen 2023-05-25
-- 
GitLab