Opened 6 years ago

Closed 6 years ago

#2610 closed defect (not a bug)

Problem with .py files in file history

Reported by: Tristan Croll Owned by: Tom Goddard
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-11-22)
Description
"open xxx.py" on the command-line creates a thumbnail in the file history, which I think is likely to be misleading more often than not. For instance, I've provided a few users of ISOLDE with bespoke Python scripts to perform tasks on their models that ISOLDE doesn't yet do automatically (correcting bonding and hydrogens on unusual ligands, converting metal pseudobonds to true bonds, etc.). These are meaningless unless the model and ISOLDE are already open, so clicking the link in the history simply raises an error.

Log:
UCSF ChimeraX version: 0.91 (2019-11-22)  
© 2016-2019 Regents of the University of California. All rights reserved.  
How to cite UCSF ChimeraX  




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

Change History (2)

comment:1 by Eric Pettersen, 6 years ago

Component: UnassignedInput/Output
Owner: set to Tom Goddard
Platform: all
Project: ChimeraX
Status: newassigned
Summary: ChimeraX bug report submissionProblem with .py files in file history

comment:2 by Tom Goddard, 6 years ago

Resolution: not a bug
Status: assignedclosed

If you want to open a Python script more than once, it is convenient that it is in file history. Sure a Python script may depend on already opened models being there, and will probably give an error if opened without those models. So the user has to actually think, but no more than they had to think the first time they used the script.

Not sure if you are suggesting that Python scripts should not appear in file history. I think they are sometimes useful in the history. The history lists the file name in addition to the thumbnail, so there is rarely any chance of confusion.

Note: See TracTickets for help on using tickets.