Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Normalize metadata on parse #853

Merged
merged 3 commits into from
Nov 16, 2020

Conversation

wasade
Copy link
Member

@wasade wasade commented Nov 16, 2020

During QIIME 2 2020.11 environment testing, @thermokarst observed an unusual test failure in qiime2/q2-deblur where a parsed BIOM-Format v2.1.0 table contained ASCII strings rather than UTF-8 strings. This appears to be due to a possible variation in the underlying hdf5 or h5py dependency. The PR here is defensive, where on parse it casts bytes -> UTF8. Note that variable length lists (e.g., taxonomy) already decode to UTF-8.

@coveralls
Copy link

coveralls commented Nov 16, 2020

Coverage Status

Coverage decreased (-0.004%) to 86.329% when pulling c7f180c on wasade:normalize-metadata-on-parse into e683e4e on biocore:master.

Copy link

@thermokarst thermokarst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested locally (in situ on busywork, more specifically), can confirm that this addresses the failures in https://busywork.qiime2.org/teams/main/pipelines/master-distribution/jobs/unit-test-q2-deblur/builds/118, on linux-64 and darwin.

@wasade wasade merged commit 0f470cd into biocore:master Nov 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants