Browse Source

Merge the patch on master, but ignore it immediately

Yentl Van Tendeloo 8 years ago
parent
commit
73dd5dbcbe
1 changed files with 2 additions and 1 deletions
  1. 2 1
      wrappers/modelverse.py

+ 2 - 1
wrappers/modelverse.py

@@ -941,7 +941,8 @@ def element_list_nice(model_name):
     """Fetches a nice representation of models."""
     _goto_mode(MODE_MODELLING)
 
-    _input(["element_list_nice", model_name])
+    global registered_metamodels
+    _input(["element_list_nice", model_name, registered_metamodels[model_name]])
 
     return json.loads(_handle_output("Success: ", split=" "))