From 453204ef571cb7ba24f68cc830bdd24932f48913 Mon Sep 17 00:00:00 2001
From: Floreal Cabanettes <floreal.cabanettes@inra.fr>
Date: Thu, 29 Mar 2018 18:57:25 +0200
Subject: [PATCH] Replace os.popen by os.system

---
 build_results.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/build_results.py b/build_results.py
index f08b037..85307b5 100755
--- a/build_results.py
+++ b/build_results.py
@@ -911,7 +911,7 @@ def init(output, vcf_files, true_vcf, rules, filtered_vcfs=None, type_v="del", o
 
     # Build HTML summary:
     ipynb = os.path.join(output, "Summarized_results.ipynb")
-    os.popen("jupyter nbconvert --to html --template basic --execute %s" % ipynb)
+    os.system("jupyter nbconvert --to html --template basic --execute %s" % ipynb)
 
     print_results(nb_records, orphans, with_xlsx, output, do_genotype)
 
-- 
GitLab