Commit 991a74e5 authored by Lukas Jelonek's avatar Lukas Jelonek
Browse files

Report dbxrefs with AttributeErrors

parent 51f84a07
...@@ -58,7 +58,7 @@ def retrieve(dbxrefs, basic=True, sequence=True, organism=True, annotation=True, ...@@ -58,7 +58,7 @@ def retrieve(dbxrefs, basic=True, sequence=True, organism=True, annotation=True,
output.update(read_annotation(child)) output.update(read_annotation(child))
if features: if features:
output['features'] = read_features(child) output['features'] = read_features(child)
except KeyError: except (KeyError, AttributeError) as e:
logger.warn('Error in retrieving %s', str(entry)) logger.warn('Error in retrieving %s', str(entry))
raise raise
except RuntimeError as e: except RuntimeError as e:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment