|
@@ -426,7 +426,7 @@ def transformation_add_MT(source_metamodels, target_metamodels, operation_name,
|
|
|
compiled = _compile_model(code)
|
|
|
except Exception as e:
|
|
|
raise CompilationError(e)
|
|
|
- print("Compilation took: %ss" % (time.time() - start))
|
|
|
+ #print("Compilation took: %ss" % (time.time() - start))
|
|
|
start = time.time()
|
|
|
|
|
|
mv_dict_rep = _dict_to_list(source_metamodels) + [""] + _dict_to_list(target_metamodels) + [""]
|
|
@@ -439,14 +439,14 @@ def transformation_add_MT(source_metamodels, target_metamodels, operation_name,
|
|
|
callback()
|
|
|
_input("exit")
|
|
|
mode = MODE_MODELLING
|
|
|
- print("Callbacks took: %ss" % (time.time() - start))
|
|
|
+ #print("Callbacks took: %ss" % (time.time() - start))
|
|
|
start = time.time()
|
|
|
|
|
|
# Done, so RAMify and upload the model
|
|
|
_handle_output("Waiting for model constructors...")
|
|
|
_input(compiled)
|
|
|
_handle_output("Success")
|
|
|
- print("Upload and RAMify took: %ss" % (time.time() - start))
|
|
|
+ #print("Upload and RAMify took: %ss" % (time.time() - start))
|
|
|
|
|
|
def transformation_add_AL(source_metamodels, target_metamodels, operation_name, code, callback=lambda: None):
|
|
|
"""Create a new action language model, which can be executed."""
|