Open
Conversation
Contributor
|
Hi @Macabe222, are you still working on this, or is it ready for review? No problem either way just trying to make sure that it gets triaged. |
Contributor
Author
|
Yes this one is read for review @cherman2 |
colinvwood
reviewed
Jan 20, 2026
colinvwood
reviewed
Jan 20, 2026
colinvwood
reviewed
Jan 20, 2026
colinvwood
reviewed
Jan 20, 2026
|
|
||
|
|
||
| def tabulate_feature_frequencies(table: biom.Table) -> qiime2.Metadata: | ||
| def tabulate_feature_frequencies(table: biom.Table, format: bool = False) \ |
Contributor
There was a problem hiding this comment.
remove all these interface changes
colinvwood
reviewed
Jan 20, 2026
Contributor
colinvwood
left a comment
There was a problem hiding this comment.
Let's remove all the interface changes so we don't have to deal with that headache and instead just convert all numeric-parseable columns in the metadata to numeric columns
colinvwood
reviewed
Feb 2, 2026
colinvwood
reviewed
Feb 5, 2026
| metadata_df = metadata.to_dataframe() | ||
|
|
||
| # Make sure numeric columns are represented correctly | ||
| types = {} |
Contributor
There was a problem hiding this comment.
I don't think we need this anymore
colinvwood
reviewed
Feb 5, 2026
|
|
||
| # Make sure numeric columns are represented correctly | ||
| types = {} | ||
| numeric_frame = pd.DataFrame() |
Contributor
There was a problem hiding this comment.
we don't need a separate dataframe, just update the columns in place
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds functionality to automatically detect numeric columns that have been converted to strings by actions such as


tabulate-feature-frequenciesand convert them back to numeric metadata columns, allowing them to be properly sorted in thetabulate-seqsvisualizer.Resolves #344