Script execution

This commit is contained in:
sfop
2017-04-27 10:43:15 +02:00
parent 11fed33b74
commit ae70b3c2b6

View File

@@ -91,7 +91,7 @@ def do_scan():
print "Starting scan..."
try:
set_exec_pars(group=scan_type in "y_{count}" if [WireScanner.WireY1, WireScanner.WireY1] else "x_{count}");
set_exec_pars(group= "y_{count}" if scan_type in [WireScanner.WireY1, WireScanner.WireY1] else "x_{count}");
do_scan()
if scan_type in [WireScanner.Set1, WireScanner.Set2]:
scanner.set_selection(get_scan_selection(scan_type))