diff options
Diffstat (limited to 'qolab/gui/web.py')
-rw-r--r-- | qolab/gui/web.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/qolab/gui/web.py b/qolab/gui/web.py index e03e0e1..8227567 100644 --- a/qolab/gui/web.py +++ b/qolab/gui/web.py @@ -36,7 +36,7 @@ class QOLParamHeader(jp.Div): return self.data[self.label] def setValue(self, val): - print(f'setting {self.label} to {val}') + # print(f'setting {self.label} to {val}') self.data[self.label]=val class QOLParamReadOnly(QOLParamHeader): @@ -97,6 +97,7 @@ class QOLTimeLog(jp.Div): if self.getNextDataFile is not None: fname = self.getNextDataFile() self.save_controls.file_name.setValue( fname ) + self.traces.clear_last_saved_pos() async def _save(self, msg): self.save() @@ -109,6 +110,7 @@ class QOLTimeLog(jp.Div): return if self.traces is None: return + print(f'saving to {fname}') self.traces.save(fname) async def _clear_data(self, msg): @@ -129,7 +131,6 @@ class QOLTimeLog(jp.Div): if update_interval is not None: self.update_interval.setValue(update_interval) while True: - print(f'update interval {self.update_interval.getValue()}') self.plot() try: strwtime = self.update_interval.getValue() |