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,
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:
......
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