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

"python beam 1@0": bad universe index #1016

Closed ChristopherMayes closed 3 weeks ago

ChristopherMayes commented 3 weeks ago

This Tao>python command was changed recently, but it doesn't work:

In bmad-doc/tao_examples/optics_matching:

Tao> beamon

Tao> python beam 1@0
[FATAL | 2024-JUN-24 19:28:10] tao_pointer_to_universe_int:
    UNIVERSE INDEX OUT OF RANGE: -999
[ERROR | 2024-JUN-24 19:28:10] tao_python_cmd:
    "python beam 1@0": bad universe index
INVALID
DavidSagan commented 3 weeks ago

Fixed.