Skip to content

Commit 66b899f

Browse files
authored
Merge pull request #433 from European-XFEL/fix/timeserver-regexp
Improve regexp for timeserver sources to include new instances at SPB
2 parents 4ff70f4 + 53fdc1e commit 66b899f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/extra/components/pulses.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -724,7 +724,7 @@ class TimeserverPulses(PulsePattern):
724724
# Timeserver class ID and regular expressions.
725725
_timeserver_class = 'TimeServer'
726726
_timeserver_control_re = re.compile(
727-
r'^\w{3}_(BR|RR)_(UTC|SYS)\/TSYS\/TIMESERVER$')
727+
r'^\w{3}_(BR|RR)_(UTC|SYS)\/TSYS\/(TIMESERVER|X2TIMER\d)$')
728728
_timeserver_pipeline_re = re.compile(r'^{}:outputBunchPattern'.format(
729729
_timeserver_control_re.pattern[:-1]))
730730

0 commit comments

Comments
 (0)