biocore / biom-format

The Biological Observation Matrix (BIOM) Format Project
http://biom-format.org
Other
92 stars 95 forks source link

Simplify concat #851

Closed wasade closed 4 years ago

wasade commented 4 years ago

This PR allows for (a) calling biom.Table.concat with a single table as well as an iterable of tables and (b) provides a helper method (biom.concat) that removes the need for the common pattern table = tables[0].concat(tables[1:]) in favor of table = biom.concat(tables)

coveralls commented 4 years ago

Coverage Status

Coverage increased (+0.02%) to 86.334% when pulling 5ef47ed2185cb5c86ca004663c932bfe1fa8156f on wasade:simplify_concat into de7be68809a422d2282b2a05f2463dedd6eed0af on biocore:master.

wasade commented 4 years ago

Thanks!!