Skip to content

Xtrack version 0.96.1

Choose a tag to compare

@szymonlopaciuk szymonlopaciuk released this 20 Nov 15:45
· 167 commits to main since this release

Changes:

  • Miscellanous fixes in the native madloader #715
    • Updated the MAD-X parser to allow element names to be strings or identifiers throughout sequences, lines, and commands, and to support line continuations with &. This makes parsing compatible with a wider range of MAD-X inputs.
    • Align aperture loading with MAD-X: if no apertype is specified, it now defaults to 'circle'.
    • Removed the ability to specify apertures as standalone elements, as this was never a feature of MAD-X itself.
    • Added some missing MAD-X element types as drifts.
  • Refactored thick and thin element insertion methods in xtrack/line.py to use the new place and insert APIs, simplifying the code and making element placement more robust and maintainable.
  • Fixed typos in error messages for several Line methods #719
  • Added backward compatibility for element shifts by accepting both shift_x and _shift_x (and similarly for shift_y and shift_s) in xtrack/base_element.py, ensuring legacy element dictionaries can be loaded without errors #720
  • Fixed bug in tests #717
  • Implemented an ACDipole element #660

Full Changelog: v0.96.0...v0.96.1