From 14d807d447b956b2b109303de2d5517e679faff8 Mon Sep 17 00:00:00 2001 From: RikVN Date: Thu, 21 Oct 2021 13:59:00 +0200 Subject: [PATCH] Get rid of yaml warning --- evaluation/clf_referee.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/evaluation/clf_referee.py b/evaluation/clf_referee.py index 0a6a34e..fe32a51 100644 --- a/evaluation/clf_referee.py +++ b/evaluation/clf_referee.py @@ -261,7 +261,7 @@ def get_signature(sig_file, out='{op:(kind,types)}', v=0): # read signature from the yaml file if os.path.isfile(sig_file): with codecs.open(sig_file, 'r', encoding='UTF-8') as f: - sig = yaml.load(f) + sig = yaml.load(f, Loader=yaml.BaseLoader) else: raise ValueError("Specified signature file is not a file") # original as it is from the yaml file