I fixed two lines that were giving these warning messages:
assign_functional_annotation.py:1213: SyntaxWarning: "is not" with a literal. Did you mean "!="?
if key is not 'label':
assign_functional_annotation.py:45: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
configuration = yaml.load(open(args.config_file).read())
I fixed two lines that were giving these warning messages: assign_functional_annotation.py:1213: SyntaxWarning: "is not" with a literal. Did you mean "!="? if key is not 'label': assign_functional_annotation.py:45: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details. configuration = yaml.load(open(args.config_file).read())