Commit 61db1a37 authored by Alessio Berti's avatar Alessio Berti
Browse files

Select subarray if allowed_tels is specified.

parent f16ead9c
Pipeline #116702 failed with stage
in 7 seconds
......@@ -173,7 +173,9 @@ class MAGICEventSource(EventSource):
self.current_run = None
self._subarray_info = SubarrayDescription(
name='MAGIC', tel_positions=MAGIC_TEL_POSITIONS, tel_descriptions=MAGIC_TEL_DESCRIPTIONS)
if self.allowed_tels:
self._subarray_info = self._subarray_info.select_subarray(self.allowed_tels)
def is_compatible(file_mask):
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment