bmad-sim / bmad-ecosystem

Bmad simulation ecosystem for simulating high energy storage rings.
https://www.classe.cornell.edu/bmad/
7 stars 13 forks source link

`BAD DUMP_AT STRING: ""` #1008

Closed ChristopherMayes closed 3 weeks ago

ChristopherMayes commented 3 weeks ago

The following Tao commands cause errors:

Note that set beam dump_file = works without error.

Tao> set beam dump_at = *

Tao> set beam dump_at = ""
[ERROR | 2024-JUN-19 14:47:39] tao_locate_elements:
    ELEMENT(S) NOT FOUND: ""
[ERROR | 2024-JUN-19 14:47:39] tao_set_beam_cmd:
    BAD DUMP_AT STRING: ""

Tao> set beam dump_at = ''
[ERROR | 2024-JUN-19 14:47:42] tao_locate_elements:
    ELEMENT(S) NOT FOUND: ''
[ERROR | 2024-JUN-19 14:47:42] tao_set_beam_cmd:
    BAD DUMP_AT STRING: ''

Tao> set beam dump_at = 
[ERROR | 2024-JUN-19 14:47:43] tao_locate_elements:
    ELEMENT NAME IS BLANK
[ERROR | 2024-JUN-19 14:47:43] tao_set_beam_cmd:
    BAD DUMP_AT STRING:
DavidSagan commented 3 weeks ago

Fixed.