Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#1085 closed defect (fixed)

"name frozen" target reported to contain models after those models were closed

Reported by: Elaine Meng Owned by: Conrad Huang
Priority: minor Milestone:
Component: Command Line Version:
Keywords: Cc:
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

If a frozen user-defined target includes parts of more than one model but then any of the models are close, "name list" still shows the target as including models even though the atoms and bonds get taken away.

Change History (6)

comment:1 by Conrad Huang, 8 years ago

Resolution: fixed
Status: assignedclosed

Should be fixed in the daily build. Needed to refresh Objects instances when models are closed.

in reply to:  2 ; comment:2 by Elaine Meng, 8 years ago

Alas, not fixed, at least in my test:

open 1gcn
open 1zik
name frozen leus :leu
name list
leus	[112 atoms, 100 bonds, 2 models]
close
name list
leus	[2 models]
version
UCSF ChimeraX version: 0.7 (2018-04-17)

in reply to:  3 ; comment:3 by Conrad Huang, 8 years ago

Ahh, command line only.  The monitoring of models closing was only in 
the GUI code.  It now always refreshes frozen names when getting the 
description, GUI or no.

Next question, should we just delete frozen names that do not refer to 
anything?  Or would it be strange to have a defined name disappear?

Conrad

On 4/17/2018 11:47 AM, Elaine Meng wrote:

in reply to:  4 ; comment:4 by Elaine Meng, 8 years ago

It doesn’t bother me if they disappear when ALL their contents are gone.  Whatever you prefer is fine with me.

in reply to:  5 ; comment:5 by Eric Pettersen, 8 years ago

I also prefer they disappear, but not adamant about it.

—Eric


in reply to:  6 ; comment:6 by Conrad Huang, 8 years ago

Okay.  They will disappear when the Objects instance is empty.  (The 
nitty gritty detail is that the name won't _actually_ disappear until 
someone tries to get its description, like "name list" or have "Basic 
Actions" tool displayed.  To get rid of the frozen name when the last 
model is closed requires more code than I'm willing to write for now.)

Conrad

On 4/17/2018 12:29 PM, ChimeraX wrote:
Note: See TracTickets for help on using tickets.