jorvis / Attributor

Generate gene annotation from a wide variety of evidence sources
Apache License 2.0
2 stars 1 forks source link

Fixed SyntaxWarning and YamlLoadWarning #6

Closed christopher-holt closed 1 year ago

christopher-holt commented 1 year ago

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())

jorvis commented 1 year ago

Thanks!