Opened 6 years ago
Closed 6 years ago
#2263 closed enhancement (fixed)
RFE: when copying structure, the chains should be copied
Reported by: | Greg Couch | Owned by: | pett |
---|---|---|---|
Priority: | major | Milestone: | 1.0 |
Component: | Structure Editing | Version: | |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Notify when closed: | Platform: | all | |
Project: | ChimeraX |
Description
This is so the sequence is preserved and so chain.from_seqres is preserved. A partial test would be to open 4udv and generate an assembly. The assembly starts by copying the structure. So the following code:
for m in session.models.list(): print([c.from_seqres for c in m.chains])
should print:
[True, True] [True, True]
instead of:
[True, True] [False, False]
This will help mmCIF writing too.
Change History (2)
comment:1 by , 6 years ago
Status: | assigned → accepted |
---|
comment:2 by , 6 years ago
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
Note:
See TracTickets
for help on using tickets.
FYI, the first line of your example code could just be: "for m in session.models:"