Opened 10 years ago

Closed 10 years ago

#192 closed defect (fixed)

command file should tolerate blank lines

Reported by: Elaine Meng Owned by: Greg Couch
Priority: critical Milestone:
Component: Command Line Version:
Keywords: Cc: Conrad Huang, Eric Pettersen, Tom Goddard
Blocked By: Blocking:
Notify when closed: Platform: all
Project: chimera

Description

It is useful to allow blank lines in command files, for readability and grouping purposes. Currently there is "ChimeraX Error" dialog raised for each blank line, and it must be dismissed for script execution to continue.

Change History (2)

comment:1 by Greg Couch, 10 years ago

Blank lines are now ignored as well as trailing blank commands in semicolon separated commands. Empty comands between semicolons are still an error.

Last edited 10 years ago by Greg Couch (previous) (diff)

comment:2 by Greg Couch, 10 years ago

Resolution: fixed
Status: newclosed

Allow for empty commands before, between, or after semicolons.

Note: See TracTickets for help on using tickets.