Opened 6 years ago

Closed 6 years ago

#2864 closed defect (fixed)

Model Panel: 'Close' sometimes closes parent

Reported by: tony.schaefer@… Owned by: pett
Priority: normal Milestone:
Component: General Controls Version:
Keywords: Cc:
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

The following bug report has been submitted:
Platform:        Windows-10-10.0.17763
ChimeraX Version: 0.92 (2020-02-17)
Description
Trying to close a child model using the model panel sometimes also closes the parent model. I've attached a session with several models, each with a child model (a bild object). I've also attached a structure with metal coordination pseudobonds. Closing either the child bild or the pseudobond group causes the parent structure to close about 50% of the time. 

I expand the model's branch on the tree, select the child model (so that the child model is the only one highlighted), and press "close". The `close` command seems to only close the specified model and not its parent. 

Log:
> cd "C:\Users\Tony Schaefer/Desktop"

Current working directory is: C:\Users\Tony Schaefer\Desktop  
UCSF ChimeraX version: 0.92 (2020-02-17)  
© 2016-2020 Regents of the University of California. All rights reserved.  
How to cite UCSF ChimeraX  
Successfully installed 'ChimAARON-0.1-py3-none-any.whl'  
Looking in indexes: https://pypi.org/simple,
https://cxtoolshed.rbvi.ucsf.edu/pypi/  
Processing c:\users\tony
schaefer\appdata\local\ucsf\chimerax\cache\0.92\installers\chimaaron-0.1-py3-none-
any.whl  
Requirement already satisfied, skipping upgrade: scipy in
d:\chimerax\bin\lib\site-packages (from ChimAARON==0.1) (1.4.1)  
Requirement already satisfied, skipping upgrade: numpy in
d:\chimerax\bin\lib\site-packages (from ChimAARON==0.1) (1.17.4+mkl)  
Requirement already satisfied, skipping upgrade: ChimeraX-Core>=0.1 in
d:\chimerax\bin\lib\site-packages (from ChimAARON==0.1) (0.92)  
Installing collected packages: ChimAARON  
Attempting uninstall: ChimAARON  
Found existing installation: ChimAARON 0.1  
Uninstalling ChimAARON-0.1:  
Successfully uninstalled ChimAARON-0.1  
Successfully installed ChimAARON-0.1  
Lock 2431659382344 acquired on C:\Users\Tony
Schaefer\AppData\Local\UCSF\ChimeraX\Cache\0.92\toolshed\bundle_info.cache.lock  
Lock 2431659382344 released on C:\Users\Tony
Schaefer\AppData\Local\UCSF\ChimeraX\Cache\0.92\toolshed\bundle_info.cache.lock  
  

WARNING: You are using pip version 20.0.1; however, version 20.0.2 is
available.  
You should consider upgrading via the 'D:\ChimeraX\bin\ChimeraX.exe -m pip
install --upgrade pip' command.  
  

> toolshed show "Browse AaronTools Libraries"

> tile

> preset chimaaron ball-stick-endcap

Preset implemented in Python; no expansion to individual ChimeraX commands
available.  

> close #1

> close #2.1

> close #3

> close #4.1

> close #5

> close #6.1

> close #7

> close

> tile

> preset chimaaron ball-stick-endcap

Preset implemented in Python; no expansion to individual ChimeraX commands
available.  

Empty filename passed to function  

> save session "C:/Users/Tony Schaefer/Desktop/closing_children.cxs"

> open "C:/Users/Tony Schaefer/Desktop/closing_children.cxs"

opened ChimeraX session  

> close #1.1

> close #2.1

> close #3.1

> close #4.1

> close #5

> close #6

> close #7

> close

> open "C:\Users\Tony Schaefer\Desktop\closing_children.cxs"

opened ChimeraX session  

> close #1

> close #2.1

> close #3.1

> close #4.1

> close #5

> close #6.1

> close #7

> close

> open "C:\Users\Tony Schaefer\Desktop\closing_children.cxs"

opened ChimeraX session  

> close #1-7

> open "C:\Users\Tony Schaefer\Desktop\Ac-Sub04.ts2.2.log" coordsets true

Opened C:\Users\Tony Schaefer\Desktop\Ac-Sub04.ts2.2.log as a log trajectory  

> close

> open "C:\Users\Tony Schaefer\Desktop\test.pdb"

Summary of feedback from opening C:\Users\Tony Schaefer\Desktop\test.pdb  
---  
warning | Ignored bad PDB record found on line 31183  
END  
  

> close

> open "C:\Users\Tony Schaefer\Desktop\Ac-Sub18.ts2.Cf1.4.log"

Opened C:\Users\Tony Schaefer\Desktop\Ac-Sub18.ts2.Cf1.4.log as a log file  

> close #1

> open "C:/Users/Tony Schaefer/Desktop/test 2.pdb"

Summary of feedback from opening C:/Users/Tony Schaefer/Desktop/test 2.pdb  
---  
warnings | Ignored bad PDB record found on line 71  
END  
  
Cannot find consistent set of bond orders for ring system containing atom C21
in residue UNK /a:1  
  

> close

> open "C:\Users\Tony Schaefer\Desktop\test 2.pdb"

Summary of feedback from opening C:\Users\Tony Schaefer\Desktop\test 2.pdb  
---  
warnings | Ignored bad PDB record found on line 71  
END  
  
Cannot find consistent set of bond orders for ring system containing atom C22
in residue UNK /a:1  
  

> close

> open "C:\Users\Tony Schaefer\Desktop\test 2.pdb"

Summary of feedback from opening C:\Users\Tony Schaefer\Desktop\test 2.pdb  
---  
warnings | Ignored bad PDB record found on line 71  
END  
  
Cannot find consistent set of bond orders for ring system containing atom C18
in residue UNK /a:1  
  

> close #1.1

> close

> open "C:\Users\Tony Schaefer\Desktop\closing_children.cxs"

opened ChimeraX session  

> close #1.1

> close #2.1

> close #3.1

> close #4

> close #5

> close #6.1

> close #7

> close

> open "C:\Users\Tony Schaefer\Desktop\closing_children.cxs"

opened ChimeraX session  

> close #1.1

> close #2.1

> close #3.1

> close #4.1

> close #5.1

> close #6.1

> close #7.1




OpenGL version: 3.3.0 NVIDIA 441.87
OpenGL renderer: GeForce RTX 2070/PCIe/SSE2
OpenGL vendor: NVIDIA Corporation
File attachment: closing_children.zip

closing_children.zip

Attachments (1)

closing_children.zip (23.4 KB ) - added by tony.schaefer@… 6 years ago.
Added by email2trac

Download all attachments as: .zip

Change History (3)

by tony.schaefer@…, 6 years ago

Attachment: closing_children.zip added

Added by email2trac

comment:1 by pett, 6 years ago

Component: UnassignedGeneral Controls
Owner: set to pett
Platform: all
Project: ChimeraX
Status: newaccepted
Summary: ChimeraX bug report submissionModel Panel: 'Close' sometimes closes parent

comment:2 by pett, 6 years ago

Resolution: fixed
Status: acceptedclosed

Hi Tony,

Thanks for pointing out this problem. Fixed in tomorrow's build. It was sporadic because it depended on the ordering of the models passed into the routine that tries to generate a short atom specifier for the models, and those models weren't kept in any particular order.

--Eric

Eric Pettersen
UCSF Computer Graphics Lab

Note: See TracTickets for help on using tickets.