Export the same number of angles for nb and bi modes

This commit is contained in:
2021-02-12 11:05:15 +01:00
parent 9140798c74
commit 36faad1d9d
2 changed files with 6 additions and 2 deletions

View File

@@ -40,6 +40,10 @@ def _parameters_match(scan1, scan2):
return False
for param in ("ub", "temp", "mf", *(vars[0] for vars in CCL_ANGLES[zebra_mode])):
if param.startswith("skip"):
# ignore skip parameters, like the last angle in 'nb' zebra mode
continue
if param == scan1["variable_name"] == scan2["variable_name"]:
# check if ranges of variable parameter overlap
range1 = scan1["variable"]