Treat o2t as om

This commit is contained in:
usov_i 2022-06-17 10:28:13 +02:00
parent 4bcfaf8c80
commit 19daa16de7

View File

@ -167,6 +167,9 @@ def parse_1D(fileobj, data_type):
if "scan_motor" not in scan:
scan["scan_motor"] = "om"
if scan["scan_motor"] == "o2t":
scan["scan_motor"] = "om"
if scan["scan_motor"] != "om":
raise Exception("Unsupported variable name in ccl file.")