From 47a630c4044ee30e55e8eb1ae95ad132b08ac162 Mon Sep 17 00:00:00 2001 From: "Eugeniy E. Mikhailov" Date: Wed, 19 Jun 2024 15:37:59 -0400 Subject: typo fix: extention -> extension --- qolab/hardware/scope/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'qolab/hardware/scope/__init__.py') diff --git a/qolab/hardware/scope/__init__.py b/qolab/hardware/scope/__init__.py index b4bdd0e..bf9df60 100644 --- a/qolab/hardware/scope/__init__.py +++ b/qolab/hardware/scope/__init__.py @@ -59,11 +59,11 @@ class Scope(BasicInstrument): allTraces=self.getAllTraces(**kwargs) allTraces.plot() - def save(self, fname=None, item_format='e', availableNpnts=None, maxRequiredPoints=None, decimate=True, extention='dat'): + def save(self, fname=None, item_format='e', availableNpnts=None, maxRequiredPoints=None, decimate=True, extension='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) + fname = self.getNextDataFile(extension=extension) allTraces.save(fname) print(f'Data saved to: {fname}') return(fname) -- cgit v1.2.3