Permalink
Browse files

Fix for Bug 3439. DR lines in SwissProt records don't have comments, …

…so delete the code for splicing out comments from DR lines
  • Loading branch information...
1 parent 21cc455 commit 87ff69059bab529dbfe3198b70affb26e9123f94 @pgarland committed Jun 28, 2013
Showing with 0 additions and 4 deletions.
  1. +0 −4 Bio/SwissProt/__init__.py
@@ -489,10 +489,6 @@ def _read_cc(record, line):
def _read_dr(record, value):
- # Remove the comments at the end of the line
- i = value.find(' [')
- if i >= 0:
- value = value[:i]
cols = value.rstrip(".").split('; ')
record.cross_references.append(tuple(cols))

0 comments on commit 87ff690

Please sign in to comment.