diff options
author | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2021-12-14 14:37:02 -0500 |
---|---|---|
committer | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2021-12-14 14:37:02 -0500 |
commit | 754c9c7a24bc1a5218eb68e4d62b11a507d2531f (patch) | |
tree | 0b675cfb5ccf5bf9252869d325272df5df6fb408 | |
parent | 96a36de6beb38e506915ee15dd2b647d021fb86b (diff) | |
download | qolab-754c9c7a24bc1a5218eb68e4d62b11a507d2531f.tar.gz qolab-754c9c7a24bc1a5218eb68e4d62b11a507d2531f.zip |
removed debug pring
-rw-r--r-- | qolab/data/trace.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/qolab/data/trace.py b/qolab/data/trace.py index d0d069f..15711f6 100644 --- a/qolab/data/trace.py +++ b/qolab/data/trace.py @@ -17,6 +17,7 @@ class Trace: self.config['unit'] = None self.config['tags'] = {} self.values = np.empty(0) + self.last_saved_pos = 0 def plot(self): import matplotlib.pyplot as plt @@ -41,7 +42,6 @@ class Trace: data = self.getData() if last_saved_pos > 0: skip_headers_if_file_exist=True - print(skip_headers_if_file_exist) fname = save_table_with_header(fname, data[last_saved_pos:,:], self.getHeader(), item_format=item_format, skip_headers_if_file_exist=skip_headers_if_file_exist, **kwargs) self.last_saved_pos = data.shape[0] return(fname) @@ -57,6 +57,7 @@ class TraceXY(Trace): self.config['tags'] = {} self.x = None self.y = None + self.last_saved_pos = 0 def plot(self): import matplotlib.pyplot as plt @@ -96,6 +97,7 @@ class TraceSetSameX(Trace): self.config['tags'] = {} self.x = None self.traces={} + self.last_saved_pos = 0 def addTrace(self, tr): if len(self.traces) == 0: |