Commit 46bce5e6 authored by payno's avatar payno
Browse files

[edfscan][guess_index_frm_file_name] manage the case part1 is None

parent 93a23789
Pipeline #21849 failed with stages
in 2 minutes and 11 seconds
......@@ -328,7 +328,10 @@ class EDFTomoScan(TomoScanBase):
part_2 = None
if part_2 is None:
return int(part_1)
if part_1 is None:
return None
return int(part_1)
return float(part_1) + part_2
Supports Markdown
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