Closed aoeftiger closed 5 years ago
https://github.com/SixTrack/sixtracklib/pull/55 attempts to fix this
Addressed in #56. The new elements created by makethin are not compliant with the madx memory layout, therefore cpymadx fail to find attributes. The fix is to protect against this happening, although the makethin problem will be addressed in future madx releases.
For
PySixTrackLib
'smadx_helper.dispatch
function, if the passed elementel
is missing the skew valuesksl
, the dispatcher could instead provide an emptyksl
.This is the case e.g. for
cpymad
generated thin lattices (mad.command.makethin
):which generates
PS: the lattice in
fodo.lat
is this one: