Opened 5 years ago

Closed 5 years ago

#4171 closed defect (fixed)

delete alt locs

Reported by: Tristan Croll Owned by: pett
Priority: moderate Milestone:
Component: Structure Editing Version:
Keywords: Cc:
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

Need C++/Python support for deleting alt locs

Change History (3)

comment:1 by pett, 5 years ago

Status: assignedaccepted

comment:2 by pett, 5 years ago

There should be both Atom.delete_alt_loc() and Residue.delete_alt_loc() and the Residue version would have options for collapsing the lettering and/or changing singleton alt locs into "normal" position information.

comment:3 by pett, 5 years ago

Resolution: fixed
Status: acceptedclosed

Implemented Atom.delete_alt_loc() which does very little consistency checking except for changing the "current" alt loc to something that exists if needed, and Residue.delete_alt_loc() which deletes the alt loc and neighboring connected alt locs, and changes the current alt loc if necessary to the best remaining choice.

As a reminder, the already existing Structure.delete_alt_locs() deletes all non-current alt locs and changes the current alt locs into non-alt locs.

Note: See TracTickets for help on using tickets.