Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
capsuledb
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
gem
capsuledb
Commits
d8f4de1f
Commit
d8f4de1f
authored
9 years ago
by
Bertrand NÉRON
Browse files
Options
Downloads
Patches
Plain Diff
FIX the name of replicon is displayed in error message when a replicon is skipped
parent
ba6f41fd
Branches
icy-3.0.0
Tags
v2.0.0-a.1
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/parser/parser.py
+2
-2
2 additions, 2 deletions
src/parser/parser.py
with
2 additions
and
2 deletions
src/parser/parser.py
+
2
−
2
View file @
d8f4de1f
...
...
@@ -180,13 +180,13 @@ def fill_db(server_uri, db_name, user, passwd, replicon_db, system_db, force_upd
secreton_db
=
server
.
get_or_create_db
(
db_name
)
system_codes
=
system_db
.
keys
()
system_codes
.
sort
()
print
(
"
number of
do
cu
m
en
t
s:
"
,
len
(
system_codes
),
file
=
sys
.
stderr
)
print
(
"
number of
system oc
cu
r
en
ce
s:
"
,
len
(
system_codes
),
file
=
sys
.
stderr
)
for
syst_code
in
system_codes
:
system
=
system_db
[
syst_code
]
try
:
replicon
=
replicon_db
[
system
.
replicon
]
except
KeyError
:
print
(
"
ERROR Replicon {0} referenced in system annotation file is not present in replicon information file: replicon skipped
"
)
print
(
"
ERROR Replicon {0} referenced in system annotation file is not present in replicon information file: replicon skipped
"
.
format
(
system
.
replicon
)
)
continue
secretion_system
=
SecretionSystem
()
secretion_system
.
_id
=
system
.
code
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
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