From 2a524cdf585287f5d3554f507119b20a11fe8342 Mon Sep 17 00:00:00 2001 From: Baohong Zhang Date: Sat, 24 Feb 2024 12:32:02 -0500 Subject: [PATCH] time consuming --- VIPInterface.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VIPInterface.py b/VIPInterface.py index d5628d3..163ea2f 100644 --- a/VIPInterface.py +++ b/VIPInterface.py @@ -1469,7 +1469,7 @@ def CLI(data): f.write(script) ppr.pprint(subprocess.run('which Rscript',capture_output=True,shell=True).stdout.decode('utf-8')) ppr.pprint(subprocess.run('which pandoc',capture_output=True,shell=True).stdout.decode('utf-8')) - ppr.pprint(subprocess.run("Rscript -e 'reticulate::py_config()'",capture_output=True,shell=True).stdout.decode('utf-8')) + # (time consuming) ppr.pprint(subprocess.run("Rscript -e 'reticulate::py_config()'",capture_output=True,shell=True).stdout.decode('utf-8')) res = subprocess.run('jupytext --to notebook --output - %s | jupyter nbconvert --ExecutePreprocessor.timeout=1800 --to html --execute --stdin --stdout'%strScript,capture_output=True,shell=True) html = res.stdout.decode('utf-8') h,s,e = html.partition('
')