Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
panacota
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Amandine PERRIN
panacota
Commits
abacfbd5
Commit
abacfbd5
authored
1 year ago
by
Amandine PERRIN
Browse files
Options
Downloads
Patches
Plain Diff
Remove check pip show
parent
bcaa206a
No related branches found
No related tags found
No related merge requests found
Pipeline
#110447
failed
1 year ago
Stage: build
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
pyproject.toml
+1
-1
1 addition, 1 deletion
pyproject.toml
test/test_install/test_make_prokka-quicktree.py
+11
-11
11 additions, 11 deletions
test/test_install/test_make_prokka-quicktree.py
with
12 additions
and
12 deletions
pyproject.toml
+
1
−
1
View file @
abacfbd5
...
@@ -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"
,
...
...
This diff is collapsed.
Click to expand it.
test/test_install/test_make_prokka-quicktree.py
+
11
−
11
View file @
abacfbd5
...
@@ -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
"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment