pymad / cpymad

cPyMAD is a python interface to Mad-X using cython and libmadx
http://cern.ch/pymad
Apache License 2.0
3 stars 3 forks source link

Remove the "sanity-checks" from Madx.command? #56

Closed coldfix closed 10 years ago

coldfix commented 10 years ago

Madx.command can not veto automatically executed commands from CALLed files. It only gets invoked for commands that the user has explicitly typed or were written in the program. IMO, it should be exactly the other way round: prevent automatically loaded commands, but allow the user to do anything (let the user try and the program fail, if it so will).

Therefore, I'd suggest to strip this feature.