Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SOaAS
dbxref
Commits
991a74e5
Commit
991a74e5
authored
Apr 09, 2018
by
Lukas Jelonek
Browse files
Report dbxrefs with AttributeErrors
parent
51f84a07
Changes
1
Show whitespace changes
Inline
Side-by-side
dbxref/retrieve/uniprot.py
View file @
991a74e5
...
...
@@ -58,7 +58,7 @@ def retrieve(dbxrefs, basic=True, sequence=True, organism=True, annotation=True,
output
.
update
(
read_annotation
(
child
))
if
features
:
output
[
'features'
]
=
read_features
(
child
)
except
KeyError
:
except
(
KeyError
,
AttributeError
)
as
e
:
logger
.
warn
(
'Error in retrieving %s'
,
str
(
entry
))
raise
except
RuntimeError
as
e
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment