biocore / biom-format

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

Fix a bug in metadata_to_dataframe #880

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

Thanks, @asafpr. Would it be possible to rebase? This looks like a massive commit history which is unrelated?