KwanLab / Autometa

Autometa: Automated Extraction of Genomes from Shotgun Metagenomes
https://autometa.readthedocs.io
Other
40 stars 15 forks source link

Fix Issue#349 #355

Closed Sidduppal closed 9 months ago

Sidduppal commented 9 months ago

median_completeness is being set to NA when filtered_df is empty. Which is causing the TypeError: boolean value of NA is ambiguous error reported in issue#349. Setting median completeness to 0 when it's NA seems to resolve this without causing any more bugs.