Skip to content
Snippets Groups Projects
Commit 7e48359c authored by GUBAIDULIN's avatar GUBAIDULIN
Browse files

warning message typo

parent 3bc94345
No related branches found
No related tags found
2 merge requests!280.8.0,!18Ions
...@@ -431,7 +431,7 @@ class BeamIonElement(Element): ...@@ -431,7 +431,7 @@ class BeamIonElement(Element):
if self.ion_beam_monitor_name: if self.ion_beam_monitor_name:
warnings.warn( warnings.warn(
'BeamIonMonitor.ion_beam_monitor_name.close() should be called at the end of tracking', 'BeamIonMonitor.beam_monitor.close() should be called at the end of tracking',
UserWarning, UserWarning,
stacklevel=2) stacklevel=2)
self.beam_monitor = IonMonitor( self.beam_monitor = IonMonitor(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment