Skip to content
Snippets Groups Projects
Commit c6e4ab54 authored by Martin Killenberg's avatar Martin Killenberg
Browse files

fix wrong indentation when calculating equilibrium indicator

parent 0279bbc0
No related branches found
No related tags found
No related merge requests found
...@@ -200,14 +200,14 @@ class Measurements: ...@@ -200,14 +200,14 @@ class Measurements:
print('Measurement not stable. Retrying.') print('Measurement not stable. Retrying.')
break break
for measurement in supposedly_stable_measurements: for measurement in supposedly_stable_measurements:
if all_measurements_stable: if all_measurements_stable:
measurement['EQUILIBRIUM_INDICATOR'] = TEMPERATURE_STABLE | HUMIDITY_STABLE |\ measurement['EQUILIBRIUM_INDICATOR'] = TEMPERATURE_STABLE | HUMIDITY_STABLE |\
MAGNITUDE_STABLE | PHASE_STABLE |\ MAGNITUDE_STABLE | PHASE_STABLE |\
MEASUREMENT_STABLE MEASUREMENT_STABLE
do_another_measurement = False do_another_measurement = False
writer.writerow(measurement) writer.writerow(measurement)
def sleep_until(self, wakeup_time): def sleep_until(self, wakeup_time):
remaining_sleep_time = wakeup_time - self.clock.time() remaining_sleep_time = wakeup_time - self.clock.time()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment