aboutsummaryrefslogtreecommitdiff
path: root/qolab/data/trace.py
diff options
context:
space:
mode:
authorEugeniy E. Mikhailov <evgmik@gmail.com>2021-12-14 09:44:53 -0500
committerEugeniy E. Mikhailov <evgmik@gmail.com>2021-12-14 09:44:53 -0500
commit2d34ba0487f814e4452a34338d68883ab12ae85c (patch)
treeff13b4366843c0ef5d055c54a0d31ee75a8bff93 /qolab/data/trace.py
parent91960bba32c136cb4a7022d9460827cca282c2ea (diff)
downloadqolab-2d34ba0487f814e4452a34338d68883ab12ae85c.tar.gz
qolab-2d34ba0487f814e4452a34338d68883ab12ae85c.zip
trace save returns filename
Diffstat (limited to 'qolab/data/trace.py')
-rw-r--r--qolab/data/trace.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/qolab/data/trace.py b/qolab/data/trace.py
index 7154896..e81cced 100644
--- a/qolab/data/trace.py
+++ b/qolab/data/trace.py
@@ -36,7 +36,8 @@ class Trace:
return headerFronDictionary(self.getConfig(), prefix='')
def save(self, fname, item_format='e', **kwargs):
- save_table_with_header(fname, self.getData(), self.getHeader(), item_format=item_format, **kwargs)
+ fname = save_table_with_header(fname, self.getData(), self.getHeader(), item_format=item_format, **kwargs)
+ return(fname)
def addPoint(self, val):
self.values = np.append(self.values, val)