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

Tao `python var {var} slaves` format incorrect #1022

Closed ken-lauer closed 2 weeks ago

ken-lauer commented 2 weeks ago

https://github.com/bmad-sim/bmad-ecosystem/blob/f15df5bd7c8c640e1c9fc863e653798abeaf1005/tao/code/tao_python_cmd.f90#L7403

As-is, this always requests the slaves option in pytao. This should read: python var {var} {slaves} such that slaves is an optional parameter.

DavidSagan commented 2 weeks ago

Fixed.

ken-lauer commented 2 weeks ago

Will the changes be reflected in tao/doc/python-interface-commands.json as well?

DavidSagan commented 2 weeks ago

Will be with PR merge later today.