martinez-zacharya / MOP-UP

A pipeline that constructs bipartite protein-sharing networks for bacteriophages to analyze host-range, taxonomy and horizontal gene transfer.
1 stars 0 forks source link

BUG report and solution #2

Open kodragonP opened 1 year ago

kodragonP commented 1 year ago

The current version can not run. Add "subprocess.run(["mkdir", outputpath])" in line 171 of "mop-up.py" can solve.

martinez-zacharya commented 1 year ago

Thanks for finding this! Did you happen to see an error that looks like this?

Traceback (most recent call last): File "mop-up.py", line 178, in subprocess.run( File "/home/zacharymartinez/micromamba/envs/mop-up/lib/python3.8/subprocess.py", line 493, in run with Popen(*popenargs, **kwargs) as process: File "/home/zacharymartinez/micromamba/envs/mop-up/lib/python3.8/subprocess.py", line 858, in init self._execute_child(args, executable, preexec_fn, close_fds, File "/home/zacharymartinez/micromamba/envs/mop-up/lib/python3.8/subprocess.py", line 1704, in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) FileNotFoundError: [Errno 2] No such file or directory: '/home/zacharymartinez/mop-up_fix/MOP-UP/silix'