Opened 8 years ago
Closed 8 years ago
#1062 closed defect (fixed)
Recent changes break mmCIF writing
Reported by: | Greg Couch | Owned by: | Eric Pettersen |
---|---|---|---|
Priority: | blocker | Milestone: | 0.7 |
Component: | Infrastructure | Version: | |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Notify when closed: | Platform: | all | |
Project: | ChimeraX |
Description
I'm debugging using 2adw.
atom.aniso_u6 is sometimes returning an empty list instead of None.
atom.has_alt_loc('A') doesn't work:
if atom.has_alt_loc(alt_loc): File "cymol.pyx", line 460, in cymol.CyAtom.has_alt_loc TypeError: an integer is required
Then if I change it to ord(alt_loc), I get:
if aom.has_alt_loc(ord(alt_loc)): File "cymol.pyx", line 458, in cymol.CyAtom.has_alt_loc TypeError: object of type 'int' has no len()
That's as far as I got since there's no workaround for has_alt_loc.
Change History (2)
comment:1 by , 8 years ago
comment:2 by , 8 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
needed to resize(6) the vector, not reserve(6)
Note:
See TracTickets
for help on using tickets.
has_alt_loc fixed (needed ord(loc[0]) passed, not loc.encode()!)