Sfoglia il codice sorgente

Added get_taskname

Yentl Van Tendeloo 7 anni fa
parent
commit
f832cd6da2
1 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  1. 4 0
      wrappers/modelverse.py

+ 4 - 0
wrappers/modelverse.py

@@ -1015,6 +1015,10 @@ def model_types(model_name):
     output = _handle_output("Success: ", split=True)
     return set(output)
 
+def get_taskname():
+    global taskname
+    return taskname
+
 import atexit
 def _close_model():
     if mode == MODE_MODIFY: