Fix deprecation warnings from pandas 1.3.0

closes #5251
This commit is contained in:
Matthias
2021-07-09 20:46:38 +02:00
parent 2f33b97b95
commit 6129c5ca9e
4 changed files with 6 additions and 5 deletions

View File

@@ -48,7 +48,7 @@ class OffsetFilter(IPairList):
"""
if self._offset > len(pairlist):
self.log_once(f"Offset of {self._offset} is larger than " +
f"pair count of {len(pairlist)}", logger.warn)
f"pair count of {len(pairlist)}", logger.warning)
pairs = pairlist[self._offset:]
self.log_once(f"Searching {len(pairs)} pairs: {pairs}", logger.info)
return pairs