From 0efa79a56aae170b277ca39c1feb25c2adc636e5 Mon Sep 17 00:00:00 2001 From: gobbo_a Date: Tue, 24 Jan 2017 16:13:31 +0100 Subject: [PATCH] Closedown --- script/Alignment/Gun_solenoid_alignment.py | 1 - script/Alignment/Laser_gun_alignment.py | 1 - script/RFscan/ShottkyScan.py | 2 +- 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/script/Alignment/Gun_solenoid_alignment.py b/script/Alignment/Gun_solenoid_alignment.py index dfde235..10e034a 100755 --- a/script/Alignment/Gun_solenoid_alignment.py +++ b/script/Alignment/Gun_solenoid_alignment.py @@ -123,5 +123,4 @@ gsa_log_msg = gsa_log_msg + "\n\n" + r.print() if do_elog: elog("Gun solenoid current scan", gsa_log_msg , get_plot_snapshots()) -_ = [r, hx, hy] set_return([r, hx, hy]) diff --git a/script/Alignment/Laser_gun_alignment.py b/script/Alignment/Laser_gun_alignment.py index 4395c0a..d31d38d 100755 --- a/script/Alignment/Laser_gun_alignment.py +++ b/script/Alignment/Laser_gun_alignment.py @@ -124,7 +124,6 @@ gsa_log_msg = gsa_log_msg + "\n\n" + r.print() if do_elog: elog("Laser alignment with phase scan", gsa_log_msg , get_plot_snapshots()) -_=[r, hx, hy] set_return([r, hx, hy]) diff --git a/script/RFscan/ShottkyScan.py b/script/RFscan/ShottkyScan.py index b9a2e34..d92f82c 100644 --- a/script/RFscan/ShottkyScan.py +++ b/script/RFscan/ShottkyScan.py @@ -46,4 +46,4 @@ phase_ref = x[index_max] phase_offset = - phase_ref caput("SINEG01-RSYS:CALC-VSUM-PHASE-OFFSET", phase_offset) -_ = phase_ref \ No newline at end of file +set_return(phase_ref) \ No newline at end of file