Skip to content

Commit

Permalink
code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
bklebel committed Sep 17, 2020
1 parent ef655ce commit 25a235e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions measureSequences/runSequences.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
Expand All @@ -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(
Expand All @@ -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,
Expand Down

0 comments on commit 25a235e

Please sign in to comment.