Opened 8 years ago

Closed 8 years ago

#749 closed defect (fixed)

Session ids for different pseudobonds are identical

Reported by: Tom Goddard Owned by: Eric Pettersen
Priority: major Milestone:
Component: Sessions Version:
Keywords: Cc:
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

When I try to save a session with 3d labels on pseudobonds the label take_snapshot() data references the pseudobond which is saved using pbond._ses_id in Pseudobond.take_snapshot(). But the pbond._ses_id values I get for most of the pseudobonds are the identical (e.g. = 7) and session restore then fails to work correctly.

open 2gbp
label #1 pseudobonds
save test.cxs
close
open test.cxs

Sometimes this produces an error try to restore the pseudobond reference, sometimes it simply puts many of the labels on a single pseudobond.

Change History (3)

comment:1 by Eric Pettersen, 8 years ago

Status: assignedaccepted

comment:2 by Eric Pettersen, 8 years ago

Okay, fixed this problem, but that uncovered another problem with pseudobond session identification. When the whole shebang is working, I'll close this.

comment:3 by Eric Pettersen, 8 years ago

Resolution: fixed
Status: acceptedclosed

Needed to set up the pseudobond session IDs earlier in the save process since they may be asked for before the manager is actually saved.

Note: See TracTickets for help on using tickets.