diff --git a/cheetah/utils.py b/cheetah/utils.py index 4e438b2a..08910e0e 100644 --- a/cheetah/utils.py +++ b/cheetah/utils.py @@ -110,7 +110,7 @@ def ocelot2cheetah(element, warnings=True): return acc.VerticalCorrector(element.l, element.angle, name=element.id) elif isinstance(element, oc.Cavity): return acc.Cavity(element.l, name=element.id) - elif isinstance(element, oc.Monitor) and "SCR" in element.id: + elif isinstance(element, oc.Monitor) and "BSC" in element.id: if warnings: print( "WARNING: Diagnostic screen was converted with default screen properties."