From 0b2cef57d84956f8934f9409db6fdd2a3ec58da1 Mon Sep 17 00:00:00 2001 From: "Eugeniy E. Mikhailov" Date: Fri, 7 Jan 2022 14:02:01 -0500 Subject: avoid double use of item_format --- qolab/hardware/scope/__init__.py | 1 + 1 file changed, 1 insertion(+) 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) -- cgit v1.2.3