Closed thkuo closed 5 years ago
The python package subprocess won't directly built a virtual environment by calling source. The function source is not a command but a shell builtin, so requiring another command to build the virtual environment. https://stackoverflow.com/questions/7040592/calling-the-source-command-from-subprocess-popen
subprocess
source
Three layers of the user interface is created: 1st layer: accept user options and create the config file 2nd layer: load the environment 3rd layer: pass the options to snakemake and launch the workflow
The python package
subprocess
won't directly built a virtual environment by callingsource
. The functionsource
is not a command but a shell builtin, so requiring another command to build the virtual environment. https://stackoverflow.com/questions/7040592/calling-the-source-command-from-subprocess-popen