diff --git a/docs/index.html b/docs/index.html index 683289c..afe5e10 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1,207 +1,143 @@ - + - - - - - Welcome to ontouml-json2graph’s documentation! — ontouml-json2graph 1.0.2 documentation - - - - - - - - - - - + + + + + + + - - - + + + - -
- -
- - -
-
-
- -
-
-
-
- -

Maintenance GitHub last commit GitHub release date pypi-project pypi-downloads Language - Top Language - Version CodeFactor Grade - OSSF-Scorecard - License

-
-

Welcome to ontouml-json2graph’s documentation! -

- _images/logo-json2graph.png - -
-
-

Indices and tables

- -
- - -
-
-
- - -
- -
-

© Copyright 2023, Semantics, Cybersecurity & Services (SCS), University of Twente, - the Netherlands.

-
- - Built with Sphinx using a - theme - provided by Read the Docs. - - -
-
+
+ +
+
+
+ +
+
+
+ +
+
+ +
+ +
+

© Copyright 2023, Semantics, Cybersecurity & Services (SCS), University of Twente, the Netherlands.

+
+ + Built with Sphinx using a + theme + provided by Read the Docs. + + +
+
-
- + \ No newline at end of file diff --git a/json2graph/decode.py b/json2graph/decode.py index ea666f9..d2d814d 100644 --- a/json2graph/decode.py +++ b/json2graph/decode.py @@ -164,4 +164,4 @@ def write_graph_file(ontouml_graph: Graph, json_path: str, graph_format: str) -> decoded_graph = decode_ontouml_json2graph(json_path=args.ARGUMENTS["json_path"], execution_mode="script") # Saves knowledge graph - write_graph_file(decoded_graph, args.ARGUMENTS["json_path"], args.ARGUMENTS["format"]) \ No newline at end of file + write_graph_file(decoded_graph, args.ARGUMENTS["json_path"], args.ARGUMENTS["format"]) diff --git a/json2graph/modules/decoder/decode_obj_class.py b/json2graph/modules/decoder/decode_obj_class.py index 3a77036..b35d2a9 100644 --- a/json2graph/modules/decoder/decode_obj_class.py +++ b/json2graph/modules/decoder/decode_obj_class.py @@ -204,7 +204,6 @@ def set_class_stereotype(class_dict: dict, ontouml_graph: Graph) -> None: "subkind", "role", "phase", "enumeration", "datatype", "abstract"] class_stereotype = get_stereotype(class_dict) - class_type = class_dict["type"] # If stereotype not declared, report warning. if class_stereotype == "null":