From 7b1193ac07550dcc26cd53321505704a75186e2f Mon Sep 17 00:00:00 2001 From: "Eugeniy E. Mikhailov" Date: Mon, 20 Dec 2021 12:47:24 -0500 Subject: name typo --- qolab/data/trace.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'qolab/data/trace.py') 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: -- cgit v1.2.3