aboutsummaryrefslogtreecommitdiff
path: root/qolab
diff options
context:
space:
mode:
authorEugeniy E. Mikhailov <evgmik@gmail.com>2021-12-20 12:47:24 -0500
committerEugeniy E. Mikhailov <evgmik@gmail.com>2021-12-20 12:47:24 -0500
commit7b1193ac07550dcc26cd53321505704a75186e2f (patch)
tree20fff2d7a4d0cfc9950fdec767932b1d2ae13ce2 /qolab
parent3da884105782fef4dd694919af0d2c2a65b79d6f (diff)
downloadqolab-7b1193ac07550dcc26cd53321505704a75186e2f.tar.gz
qolab-7b1193ac07550dcc26cd53321505704a75186e2f.zip
name typo
Diffstat (limited to 'qolab')
-rw-r--r--qolab/data/trace.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/qolab/data/trace.py b/qolab/data/trace.py
index d187575..7c75d39 100644
--- a/qolab/data/trace.py
+++ b/qolab/data/trace.py
@@ -2,7 +2,7 @@ from qolab.file_utils import save_table_with_header
import numpy as np
import yaml
-def headerFronDictionary(d, prefix=''):
+def headerFromDictionary(d, prefix=''):
header = []
tail = yaml.dump(d, default_flow_style=False, sort_keys=False)
tail = tail.split('\n')
@@ -48,7 +48,7 @@ class Trace:
return( self.values )
def getHeader(self, prefix=''):
- return headerFronDictionary(self.getConfig(), prefix='')
+ return headerFromDictionary(self.getConfig(), prefix='')
def save(self, fname, last_saved_pos=None, skip_headers_if_file_exist=False, **kwargs):
if last_saved_pos is None: