Skip to content

Commit

Permalink
fix cifheader author for consortium
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesmkrieger committed Nov 8, 2024
1 parent a3b9298 commit 89d3a5f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions prody/proteins/cifheader.py
Original file line number Diff line number Diff line change
Expand Up @@ -745,8 +745,11 @@ def _getReference(lines):
except:
continue
if what == 'AUTH':
surname, initials = value.split(',')
author = initials+surname
try:
surname, initials = value.split(',')
author = initials+surname
except ValueError:
author = value
authors.append(author.strip().upper())

ref['authors'] = authors
Expand Down

0 comments on commit 89d3a5f

Please sign in to comment.