biocore / empress

A fast and scalable phylogenetic tree viewer for microbiome data analysis
BSD 3-Clause "New" or "Revised" License
45 stars 31 forks source link

Fixes error when no feature metadata file is provided #485

Closed ahdilmore closed 3 years ago

ahdilmore commented 3 years ago

When I previously ran empress without supplying a feature metadata file, I received the error "All objects passed were None." This occurs on line 167 when pandas attempts to concatenate two Nones. I added a line to check whether both self.tip_md and self.int_md are both None to avoid raising the error.

fedarko commented 3 years ago

Thanks @ahdilmore!

ElDeveloper commented 3 years ago

Thanks @ahdilmore and @fedarko 🎉

On (Feb-17-21|17:57), Marcus Fedarko wrote:

Thanks @ahdilmore!

-- You are receiving this because you commented. Reply to this email directly or view it on GitHub: https://urldefense.com/v3/__https://github.com/biocore/empress/pull/485*issuecomment-780983687__;Iw!!Mih3wA!WRqztNMdakAdVsvOWH9pUqX5XOpQSkC-knPULsW6gi8iWnxkMdGcuzAEKVjxl8Q$