From 8428afa945352384bd0c5859e25bc7111fdcc0c5 Mon Sep 17 00:00:00 2001 From: "Eugeniy E. Mikhailov" Date: Fri, 7 Jan 2022 20:23:41 -0500 Subject: SafeLoader -> BaseLoader in trace reading --- qolab/data/trace.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qolab/data') diff --git a/qolab/data/trace.py b/qolab/data/trace.py index d771563..e5dfa2d 100644 --- a/qolab/data/trace.py +++ b/qolab/data/trace.py @@ -30,7 +30,7 @@ def loadTraceRawHeaderAndData(fname): data=rdata else: data=np.vstack((data,rdata)) - header=yaml.load(str.join('\n', headerstr), Loader=yaml.SafeLoader) + header=yaml.load(str.join('\n', headerstr), Loader=yaml.BaseLoader) return(header, data) def loadTrace(fname): -- cgit v1.2.3