Bug report - norm_taxon_function_contrib column in stratified output malformed

32 views
Skip to first unread message

Gavin Douglas

unread,
Apr 29, 2022, 5:01:51 PM4/29/22
to picrust-users
I recently realized that there was a major bug affecting the content of the "norm_taxon_function_contrib" in the long-format (default) stratified output tables. This was due to an annoying pandas mistake that I made, and which was not picked up with small test tables in the unit tests. Although this bug will not affect how the vast majority of users use the PICRUSt2 output, it could definitely have caused issues / confusion for more advanced users.

The bug is actually quite obvious when you look at the column by eye, for instance as described here: https://github.com/picrust/picrust2/issues/206. Essentially, although the column is supposed to contain proportions, many values were > 1 and missing entirely. I apologize for not catching and appreciating that this was a bug earlier.

It is now fixed in v2.5.0, which you can see the changelog for here: https://github.com/picrust/picrust2/releases/tag/v2.5.0

My apologies to anyone whose work may have been affected by this problem.


All the best,

Gavin


Reply all
Reply to author
Forward
0 new messages