diff options
author | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2021-12-14 09:44:53 -0500 |
---|---|---|
committer | Eugeniy E. Mikhailov <evgmik@gmail.com> | 2021-12-14 09:44:53 -0500 |
commit | 2d34ba0487f814e4452a34338d68883ab12ae85c (patch) | |
tree | ff13b4366843c0ef5d055c54a0d31ee75a8bff93 /qolab/data | |
parent | 91960bba32c136cb4a7022d9460827cca282c2ea (diff) | |
download | qolab-2d34ba0487f814e4452a34338d68883ab12ae85c.tar.gz qolab-2d34ba0487f814e4452a34338d68883ab12ae85c.zip |
trace save returns filename
Diffstat (limited to 'qolab/data')
-rw-r--r-- | qolab/data/trace.py | 3 |
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) |