Parcourir la source

Train run script updated

Jérôme BUISINE il y a 5 ans
Parent
commit
1fcc49071d
1 fichiers modifiés avec 3 ajouts et 3 suppressions
  1. 3 3
      save_model_result_in_md_maxwell.py

+ 3 - 3
save_model_result_in_md_maxwell.py

@@ -78,12 +78,12 @@ def main():
     print(bash_cmd)
 
     ## call command ##
-    #p = subprocess.Popen(bash_cmd, stdout=subprocess.PIPE, shell=True)
+    p = subprocess.Popen(bash_cmd, stdout=subprocess.PIPE, shell=True)
 
-    #(output, err) = p.communicate()
+    (output, err) = p.communicate()
 
     ## Wait for result ##
-    #p_status = p.wait()
+    p_status = p.wait()
 
     if not os.path.exists(markdowns_folder):
         os.makedirs(markdowns_folder)