mccode-plumber 0.14.1__py3-none-any.whl → 0.14.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- mccode_plumber/manage/orchestrate.py +2 -5
- {mccode_plumber-0.14.1.dist-info → mccode_plumber-0.14.2.dist-info}/METADATA +1 -1
- {mccode_plumber-0.14.1.dist-info → mccode_plumber-0.14.2.dist-info}/RECORD +6 -6
- {mccode_plumber-0.14.1.dist-info → mccode_plumber-0.14.2.dist-info}/WHEEL +0 -0
- {mccode_plumber-0.14.1.dist-info → mccode_plumber-0.14.2.dist-info}/entry_points.txt +0 -0
- {mccode_plumber-0.14.1.dist-info → mccode_plumber-0.14.2.dist-info}/top_level.txt +0 -0
|
@@ -364,13 +364,10 @@ def main():
|
|
|
364
364
|
streams = get_stream_pairs(structure)
|
|
365
365
|
# All monitors should use a single topic:
|
|
366
366
|
monitor_topic = f'{instr.name}_beam_monitor'
|
|
367
|
-
|
|
368
|
-
raise ValueError(f'All monitor streams must use the same topic {monitor_topic}, found {streams}')
|
|
369
|
-
monitor_names = [s[1] for s in streams]
|
|
367
|
+
monitor_names = [s[1] for s in streams if s[0] == monitor_topic]
|
|
370
368
|
|
|
371
369
|
broker = 'localhost:9092'
|
|
372
|
-
|
|
373
|
-
register_topics(broker, [monitor_topic]) # ensure the topics are known to Kafka
|
|
370
|
+
register_topics(broker, [s[0] for s in streams]) # ensure all topics are known to Kafka
|
|
374
371
|
|
|
375
372
|
# Configure the callback to send monitor data to Kafka, using the common topic with source names as monitor names
|
|
376
373
|
callback, callback_args = monitors_to_kafka_callback_with_arguments(
|
|
@@ -27,10 +27,10 @@ mccode_plumber/manage/ensure.py,sha256=0HaxcHYzvcDs6hBvBI39EZsIDt_rVA9CjHm5_yvOZ
|
|
|
27
27
|
mccode_plumber/manage/epics.py,sha256=oQt_hL-7KgtI9Kmwyw8L7a7RxQe7YJWRbmHnKIqMLpQ,1310
|
|
28
28
|
mccode_plumber/manage/forwarder.py,sha256=YYvHaOJ4djBXM7PFF2NBbnNDO6nnrwNOfSHaVOh16Ro,2876
|
|
29
29
|
mccode_plumber/manage/manager.py,sha256=zzrduroUL-jwQ9BrPTdAm1IW4dGv5bi8-ieIQ6qiQ6M,4141
|
|
30
|
-
mccode_plumber/manage/orchestrate.py,sha256=
|
|
30
|
+
mccode_plumber/manage/orchestrate.py,sha256=4KaMP0TRqejDYHyx1ZITaeXlnaOfJiWHDNehwxWr7VY,17884
|
|
31
31
|
mccode_plumber/manage/writer.py,sha256=SEv1U14L01Y9-BcaJKPei4Ah2LFfwexDy9FTjpvtSEs,2245
|
|
32
|
-
mccode_plumber-0.14.
|
|
33
|
-
mccode_plumber-0.14.
|
|
34
|
-
mccode_plumber-0.14.
|
|
35
|
-
mccode_plumber-0.14.
|
|
36
|
-
mccode_plumber-0.14.
|
|
32
|
+
mccode_plumber-0.14.2.dist-info/METADATA,sha256=n2l08lAN2SYeKXtujHBBMTx2vky87Yn6ZgWhZ0FktoY,594
|
|
33
|
+
mccode_plumber-0.14.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
34
|
+
mccode_plumber-0.14.2.dist-info/entry_points.txt,sha256=k3LDo_9HG2v4-IgMYlNukphdMmaAT6zkJZYaB1zJh3c,900
|
|
35
|
+
mccode_plumber-0.14.2.dist-info/top_level.txt,sha256=kCCIpYtKHCKWxiPEqX9J1UaGEm-ze0Qb-cemBCEPhDA,15
|
|
36
|
+
mccode_plumber-0.14.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|