biocore / deblur

Deblur is a greedy deconvolution algorithm based on known read error profiles.
BSD 3-Clause "New" or "Revised" License
92 stars 41 forks source link

MAINT: replace deprecated `.warn()` method #219

Closed valentynbez closed 1 year ago

valentynbez commented 1 year ago

The logging.Logger.warn() method was deprecated in Python 3.3 by issue https://github.com/python/cpython/issues/57444 and commit https://github.com/python/cpython/commit/04d5bc00a219860c69ea17eaa633d3ab9917409f. This method is not documented and emits a DeprecationWarning since Python 3.3.

wasade commented 1 year ago

Thanks, @valentynbez! Is there any chance the lint issues could be addressed in this PR? I realize they're unrelated but I suspect are fast to do.

wasade commented 1 year ago

Thank you!!