biocore / biom-format

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

take column names from all metadata not just first entry #881

Closed asafpr closed 1 year ago

asafpr commented 1 year ago

When converting observation metadata to dataframe the column names were taken from the first row. When the first row had missing values (i.e. incomplete taxonomic assignment) then the number of columns would not match the column headers. I changed it to take the maximal list of column names from all rows.

wasade commented 1 year ago

Hi @asafpr, sorry for the delay on this -- reviewing now

wasade commented 1 year ago

Thanks!!!