desy-ml / cheetah

Fast and differentiable particle accelerator optics simulation for reinforcement learning and optimisation applications.
https://cheetah-accelerator.readthedocs.io
GNU General Public License v3.0
33 stars 13 forks source link

91 attributeerror screen object has no attribute reading #92

Closed jank324 closed 11 months ago

jank324 commented 11 months ago

The steps to solve this problem are:

Alternatively:

jank324 commented 11 months ago

So far it seems that Cheetah is behaving as expected and the problem is actually in the ARES Transverse Tuning repository.

jank324 commented 11 months ago

So it turns out the issue was that for ParameterBeam the code was wrong and crashed. Somehow this did not crash the kernel and the error was never reported. Instead the effect was that the next time reading was accessed, it was no longer available.