Browse Source

Strip some unnecessary operations

Yentl Van Tendeloo 7 years ago
parent
commit
09ea9972de
2 changed files with 1 additions and 5 deletions
  1. 0 4
      bootstrap/bootstrap.py
  2. 1 1
      wrappers/modelverse_SCCD.py

+ 0 - 4
bootstrap/bootstrap.py

@@ -177,10 +177,6 @@ def bootstrap():
                     return code.replace("auto_initial_IP", target)
                     return code.replace("auto_initial_IP", target)
 
 
                 # Create all library code
                 # Create all library code
-                # But first create the structure to hold compiled data
-                f.write("Node __objects()\n", both=False)
-                f.write('Dict (__hierarchy, "objects", __objects)\n', both=False)
-
                 def compile_code_MO(filename, model_name):
                 def compile_code_MO(filename, model_name):
                     import sys
                     import sys
                     sys.path.append("interface/HUTN/")
                     sys.path.append("interface/HUTN/")

+ 1 - 1
wrappers/modelverse_SCCD.py

@@ -1,7 +1,7 @@
 """
 """
 Generated by Statechart compiler by Glenn De Jonghe, Joeri Exelmans, Simon Van Mierlo, and Yentl Van Tendeloo (for the inspiration)
 Generated by Statechart compiler by Glenn De Jonghe, Joeri Exelmans, Simon Van Mierlo, and Yentl Van Tendeloo (for the inspiration)
 
 
-Date:   Thu Apr  5 16:36:37 2018
+Date:   Thu Apr  5 16:51:38 2018
 
 
 Model author: Yentl Van Tendeloo
 Model author: Yentl Van Tendeloo
 Model name:   MvK Server
 Model name:   MvK Server