Skip to content

Commit

Permalink
Get rid of yaml warning
Browse files Browse the repository at this point in the history
  • Loading branch information
RikVN committed Oct 21, 2021
1 parent 6def45b commit 14d807d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion evaluation/clf_referee.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 14d807d

Please sign in to comment.