From 25a235ecbf1c7a20a0e332e62ff4c86ff599cbd9 Mon Sep 17 00:00:00 2001 From: Benjamin Klebel Date: Thu, 17 Sep 2020 22:33:13 +0200 Subject: [PATCH] code cleanup --- measureSequences/runSequences.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/measureSequences/runSequences.py b/measureSequences/runSequences.py index c4ced3b..391ab33 100644 --- a/measureSequences/runSequences.py +++ b/measureSequences/runSequences.py @@ -552,7 +552,7 @@ def execute_scan_T( # approaching very slowly: if ApproachMode == "No O'Shoot": - for _, temp in enumerate(temperatures): + for temp in temperatures: approachTemps = mapping_tofunc( lambda x: np.log(x), start=temperatures[0], end=temp, Nsteps=10 ) @@ -572,7 +572,7 @@ def execute_scan_T( # approaching rather fast: if ApproachMode == "Fast": - for ct, temp in enumerate(temperatures): + for temp in temperatures: self.setTemperature(temp) self.checkStable_Temp( @@ -594,7 +594,7 @@ def execute_scan_T( SpacingCode=SpacingCode, ) - for ct, temp in enumerate(temperatures): + for temp in temperatures: self.checkStable_Temp( temp=temp,