Skip to content

BUGFIX: replace AcceleratorException -> AcceleratorError - #164

Merged
VitorSouzaLNLS merged 2 commits into
masterfrom
fix-accelerator-exception
Apr 9, 2026
Merged

BUGFIX: replace AcceleratorException -> AcceleratorError#164
VitorSouzaLNLS merged 2 commits into
masterfrom
fix-accelerator-exception

Conversation

@VitorSouzaLNLS

Copy link
Copy Markdown
Contributor

Inside the optics module, the calc_beamenvelope function was trying to raise AcceleratorException to set/reset the radiation mode and turn on/off cavities on transport lines; however the accelerator module defines AcceleratorError as its base exception class.

@fernandohds564

Copy link
Copy Markdown
Contributor

Same comments as in lnls-fac/trackcpp#88.

@VitorSouzaLNLS
VitorSouzaLNLS merged commit a742436 into master Apr 9, 2026
@VitorSouzaLNLS
VitorSouzaLNLS deleted the fix-accelerator-exception branch April 9, 2026 17:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants