Opened 6 years ago

Closed 6 years ago

#2303 closed defect (fixed)

'save' command 'models' keyword wrong/mishandled

Reported by: Tristan Croll Owned by: Conrad Huang
Priority: normal Milestone:
Component: Input/Output Version:
Keywords: Cc:
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

The following bug report has been submitted:
Platform:        Linux-3.10.0-957.12.2.el7.x86_64-x86_64-with-centos-7.6.1810-Core
ChimeraX Version: 0.91 (2019-08-06)
Description
"save xxx.cif #{incorrect model nunber}" saves model #1 (or all models? Haven't checked). Should probably just log an error? 

Log:
Startup Messages  
---  
warning | 'clip' is a prefix of an existing command 'clipper'  
  
UCSF ChimeraX version: 0.91 (2019-08-06)  
© 2016-2019 Regents of the University of California. All rights reserved.  
How to cite UCSF ChimeraX  

> open 1a0m

1a0m title:  
1.1 angstrom crystal structure of A-conotoxin [TYR15]-epi [more info...]  
  
Chain information for 1a0m #1  
---  
Chain | Description  
A B | α-conotoxin [TYR15]-epi  
  
Non-standard residues in 1a0m #1  
---  
NH2 — amino group  
  
  

> save test.cif #3

> open test.cif

Chain information for test.cif #2  
---  
Chain | Description  
A B | α-conotoxin [TYR15]-epi  
  

> hide #!1 models




OpenGL version: 3.3.0 NVIDIA 415.27
OpenGL renderer: TITAN Xp/PCIe/SSE2
OpenGL vendor: NVIDIA Corporation

Change History (2)

comment:1 by pett, 6 years ago

Component: UnassignedInput/Output
Owner: set to Conrad Huang
Platform: all
Project: ChimeraX
Status: newassigned
Summary: ChimeraX bug report submission'save' command 'models' keyword wrong/mishandled

comment:2 by pett, 6 years ago

Resolution: fixed
Status: assignedclosed

'save' was only passing off 'models' keyword to underlying functions if it was non-empty/None. Needed to pass off empty list.

Note: See TracTickets for help on using tickets.