You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
BeamlinePrefix does not support branch beamlines (e.g. i13-1 does not resolve to BL13J) #926
get_beamline_name returns what is set in the environment variable BEAMLINE, or a default string.
The return of get_beamline_name is (often) used to create the BeamlinePrefix, which is used by both device_instantiation and device_factory to create the device prefix.
On e.g. i13-1-ws001, BEAMLINE=i13-1, and BeamlinePrefix("i13-1").beamline_prefix = "BL13I" however devices on i13-1 are actually prefixed BL13J.
Is using the environment variable to connect, other than in the cases of a simulated twin, a common behaviour that we need to support? This is done by the training_rigs, which share a dodal beamline module, and so must be distinguished.
Acceptance Criteria
Specific criteria that will be used to judge if the issue is fixed
IIRC, in a case such as i13-1, specifying the suffix in BeamlinePrefix should do the trick - even if it's not a very nice solution (and we might want something else in the long run):
Activity
noemifrisina commentedon Nov 27, 2024
IIRC, in a case such as
i13-1, specifying the suffix in BeamlinePrefix should do the trick - even if it's not a very nice solution (and we might want something else in the long run):This should return
bl.beamline_prefix = "BL13J"Btw, just to make things more interesting, I'll note that the beamline prefix for both i19-1 and i19-2 is
BL19Ibut that might be a single edge case.DominicOram commentedon Nov 27, 2024
FYI, this is a duplicate of #760. I will close the older one
DominicOram commentedon Jul 31, 2025
I think
bl = BeamlinePrefix("i13-1", suffix="J")is a good enough solution to this for now and seems to be working on a few beamlines