ncbo / ncbo_annotator

To automatically process a piece of data text to annotate it with relevant ontology concepts and return the annotations.
http://bioportal.bioontology.org/annotator
Other
18 stars 9 forks source link

deprecation warnings `Redis#exists(key)` will return an Integer in redis-rb 4.3 #3 #12

Closed jlamarque34 closed 4 years ago

jlamarque34 commented 4 years ago

ncbo_cron logs shows deprecation warnings: Redis#exists(key) will return an Integer in redis-rb 4.3. exists? returns a boolean, you should use it instead. To opt-in to the new behavior now you can set Redis.exists_returns_integer = true. To disable this message and keep the current (boolean) behaviour of 'exists' you can set Redis.exists_returns_integer = false, but this option will be removed in 5.0. (/srv/ontoportal/ncbo_cron_deployments/shared/bundle/ruby/2.5.0/bundler/gems/ncbo_annotator-08176ef39822/lib/ncbo_annotator.rb:118:in `generate_dictionary_file')