motleystate / moonstone

Library to perform Metagenomics data analysis with Python
https://moonstone.readthedocs.io/en/latest/?badge=latest
MIT License
1 stars 0 forks source link

Bug in NamesFiltering due to a deprecation in pandas #59

Closed AgnesBaud closed 3 years ago

AgnesBaud commented 3 years ago

Describe the bug

"KeyError: 'Passing list-likes to .loc or [] with any missing labels is no longer supported, see https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#deprecate-loc-reindex-listlike'" This error raises in NamesFiltering when names to keep or drop are not present in the dataframe's index (or columns)

Expected behavior

Not raise the error (and only warn inside logging infos?)