Opened 5 years ago

Closed 5 years ago

#3257 closed defect (fixed)

unable to reopen data from file history

Reported by: Greg Couch Owned by: Eric Pettersen
Priority: major Milestone: 1.0
Component: Input/Output Version:
Keywords: Cc: Tom Goddard
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

One of my file history items expanded to:

open 2519 format "MDL MOL/SDF" fromDatabase pubchem

and fails with Invalid "format" argument: .... Redoing it with open 2519 from pubchem replaces the entry in the file history with a working version that expands to:

open 2519 format sdf fromDatabase pubchem

Change History (2)

comment:1 by Conrad Huang, 5 years ago

Owner: set to Eric Pettersen
Status: newassigned

comment:2 by Eric Pettersen, 5 years ago

Cc: Tom Goddard added
Resolution: fixed
Status: assignedclosed

I wound up change FileHistory as per Tom's suggestion to map the old format name to a new one. The other approach of trying to get the 'open' command to handle it wasn't practical because the error was in the command parsing rather than in the command executions itself: the enumerated enum for the 'format' argument didn't have the janky old names in it, and I didn't want to add them to it since they would show up in error messages and (eventually) usage, and Elaine would probably wind up documenting them.

Note: See TracTickets for help on using tickets.