Skip to content
Snippets Groups Projects
Commit abacfbd5 authored by Amandine  PERRIN's avatar Amandine PERRIN
Browse files

Remove check pip show

parent bcaa206a
No related branches found
No related tags found
No related merge requests found
Pipeline #110447 failed
...@@ -11,7 +11,7 @@ description="Large scale comparative genomics tools: annotate genomes, do pangen ...@@ -11,7 +11,7 @@ description="Large scale comparative genomics tools: annotate genomes, do pangen
requires-python = ">=3.7" requires-python = ">=3.7"
keywords = ["persistent genome", "pangenome", "bacteria", "Bioinformatics", "Comparative genomics", keywords = ["persistent genome", "pangenome", "bacteria", "Bioinformatics", "Comparative genomics",
"core genome", "phylogenetic tree", "alignment", "families"] "core genome", "phylogenetic tree", "alignment", "families"]
license = {file = "COPYING"} license = {text = "aGPL v3"}
classifiers = [ classifiers = [
"Environment :: Console", "Environment :: Console",
"Intended Audience :: Science/Research", "Intended Audience :: Science/Research",
......
...@@ -52,17 +52,17 @@ def test_install_prokka_quicktree(): ...@@ -52,17 +52,17 @@ def test_install_prokka_quicktree():
assert utils.check_installed("prokka") assert utils.check_installed("prokka")
assert utils.check_installed("PanACoTA") assert utils.check_installed("PanACoTA")
assert utils.check_installed('quicktree') assert utils.check_installed('quicktree')
cmd = "pip3 show PanACoTA" # cmd = "pip3 show PanACoTA"
err = "error pip3" # err = "error pip3"
stdout = "stdout_pip3show.out" # stdout = "stdout_pip3show.out"
with open(stdout, "w") as stdof: # with open(stdout, "w") as stdof:
utils.run_cmd(cmd, err, stdout=stdof, stderr=stdof) # utils.run_cmd(cmd, err, stdout=stdof, stderr=stdof)
with open(stdout, "r") as stdof: # with open(stdout, "r") as stdof:
for line in stdof: # for line in stdof:
if line.startswith("Location"): # if line.startswith("Location"):
loc = line.split()[-1] # loc = line.split()[-1]
assert glob.glob(os.path.join(loc, r'PanACoTA*dist-info')) # assert glob.glob(os.path.join(loc, r'PanACoTA*dist-info'))
os.remove(stdout) # os.remove(stdout)
logfile = "install.log" logfile = "install.log"
content = ["Installing PanACoTA...", "DONE", content = ["Installing PanACoTA...", "DONE",
"Some dependencies needed for some subcommands of PanACoTA are " "Some dependencies needed for some subcommands of PanACoTA are "
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment