Commit a6293430 authored by Alessio Berti's avatar Alessio Berti
Browse files

Set run_number to None for MC superstar and melibea files.

parent 224c2079
Pipeline #116258 failed with stage
in 7 seconds
......@@ -265,13 +265,13 @@ class MAGICEventSource(EventSource):
elif re.findall(mask_mc_superstar, file_name):
parsed_info = re.findall(mask_mc_superstar, file_name)
telescope = None
run_number = int(parsed_info[0])
run_number = None
datalevel = MARSDataLevel.SUPERSTAR
is_mc = True
elif re.findall(mask_mc_melibea, file_name):
parsed_info = re.findall(mask_mc_melibea, file_name)
telescope = None
run_number = int(parsed_info[0])
run_number = None
datalevel = MARSDataLevel.MELIBEA
is_mc = True
else:
......
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