Opened 8 years ago
Closed 8 years ago
#756 closed defect (fixed)
file-history logic doesn't account for multi-save with model name/ID substitution
Reported by: | Elaine Meng | Owned by: | Tom Goddard |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | Input/Output | Version: | |
Keywords: | Cc: | pett | |
Blocked By: | Blocking: | ||
Notify when closed: | Platform: | all | |
Project: | ChimeraX |
Description
Example with NMR ensemble:
open 1g1p
save ~/Desktop/junk[ID].pdb
... creates files junk1.1.pdb, junk1.2.pdb... junk1.18.pdb
but file history shows one thumbnail of the whole ensemble with name junk[ID]
The [NAME] and [ID] strings indicate substitution with model name and model number in saved PDB files.
Note:
See TracTickets
for help on using tickets.
Made it so nothing is added to file history in cases where the save command doesn't actually create a file having the filename specified in the command. Handling filename patterns would require new capabilities in the code for file writers to specify the actual files that got written, for example "junk1.*.pdb" in the example in this bug report. This is too much code complexity for too little benefit, although you could create an enhancement ticket if you want it.