aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugeniy E. Mikhailov <evgmik@gmail.com>2022-01-07 14:02:01 -0500
committerEugeniy E. Mikhailov <evgmik@gmail.com>2022-01-07 14:02:01 -0500
commit0b2cef57d84956f8934f9409db6fdd2a3ec58da1 (patch)
treea5ebed58102cb01b133c2e8d2d0f3d79151d0081
parentccbb6a5ad8c2577de718ed27e74e2eedc98708df (diff)
downloadpyExpControl-0b2cef57d84956f8934f9409db6fdd2a3ec58da1.tar.gz
pyExpControl-0b2cef57d84956f8934f9409db6fdd2a3ec58da1.zip
avoid double use of item_format
-rw-r--r--qolab/hardware/scope/__init__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/qolab/hardware/scope/__init__.py b/qolab/hardware/scope/__init__.py
index bdceab3..53d862b 100644
--- a/qolab/hardware/scope/__init__.py
+++ b/qolab/hardware/scope/__init__.py
@@ -77,6 +77,7 @@ class Scope(BasicInstrument):
def save(self, fname=None, item_format='e', availableNpnts=None, maxRequiredPoints=None, decimate=True, extention='dat'):
allTraces = self.getAllTraces(availableNpnts=availableNpnts, maxRequiredPoints=maxRequiredPoints, decimate=decimate)
+ allTraces.config['item_format']=item_format
if fname is None:
fname = self.getNextDataFile(extention=extention)
allTraces.save(fname, item_format=item_format)