nf-osi / nfportalutils

Utilities for NF Portal project and data management
https://nf-osi.github.io/nfportalutils/
MIT License
2 stars 2 forks source link

Update annotations.R #139

Closed jaybee84 closed 7 months ago

jaybee84 commented 10 months ago

Update setAnnotations method to set_annotations to avoid the deprecation warning and future breaks:

DeprecationWarning: Call to deprecated method setAnnotations. (deprecated and replaced with :py:meth:`set_annotations` This method is UNSAFE and may overwrite existing annotations without confirming that you have retrieved and updated the latest annotations) -- Deprecated since version 2.1.0.
  args, kwargs)