aboutsummaryrefslogtreecommitdiff
path: root/qolab/data
diff options
context:
space:
mode:
Diffstat (limited to 'qolab/data')
-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)