#201 closed defect (fixed)
Subcommand abbreviation broken
Reported by: | Tom Goddard | Owned by: | Greg Couch |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Command Line | Version: | |
Keywords: | Cc: | Elaine Meng | |
Blocked By: | Blocking: | ||
Notify when closed: | Platform: | all | |
Project: | ChimeraX |
Description
Command "position init" gives in the log
positioninitialt
Expected a keyword
Abbreviations of subcommands appears to be broken.
Change History (7)
comment:1 by , 10 years ago
comment:2 by , 10 years ago
Cc: | added |
---|
comment:3 by , 10 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Bug was byproduct of fix for #191.
comment:4 by , 10 years ago
It is not fixed in the current daily build. Did you mean you just fixed it and it is not yet in a build?
comment:6 by , 10 years ago
The general case is fixed. However, there must be some interaction with colornames that prevents using "color def" instead of "color define", resulting in an error message, e.g.:
color def blah rgb(200,50,50)
Expected a color or one of 'byatom', 'byelement', 'byhetero', 'bychain', 'bymodel', 'fromatoms', or 'random' or a keyword
comment:7 by , 10 years ago
Oops nevermind, I forgot it was "color name" now! Sorry for the false alarm.
Also happens with truncation of any color subcommand. For example:
color def yow rgb(20,150,50)
...puts in Log:
colordefinef yow rgb(200,150,50)
Expected a color or one of 'byatom', 'byelement', 'byhetero', 'bychain', 'bymodel', 'fromatoms', or 'random' or a keyword
There are analogous errors trying to use "color li" instead of "color list" and "color del" instead of "color delete".