-
Notifications
You must be signed in to change notification settings - Fork 129
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
Allow users to specify a titer attribute prefix #1106
Conversation
Codecov ReportBase: 63.38% // Head: 67.97% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## master #1106 +/- ##
==========================================
+ Coverage 63.38% 67.97% +4.58%
==========================================
Files 57 57
Lines 6639 6641 +2
Branches 1632 1632
==========================================
+ Hits 4208 4514 +306
+ Misses 2147 1823 -324
- Partials 284 304 +20
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
e6f431a
to
4e486a7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This LGTM by inspection.
One non-blocking comment, which can be resolved later:
Allows users to prefix the node data JSON attributes produced by augur titers subcommands (e.g., cTiter, dTiter, etc.) with a custom string.
I went to look at the augur titers
doc to see the full list of output fields, but didn't find it. If we don't have this documented elsewhere, it would be good to add it to the augur titers {tree,sub} --help
output. If we do doc it elsewhere, then good to link out to it.
Separately, it would also be nice to add a JSON schema, e.g. |
Thank you, @tsibley! In addition to the JSON schema, we also need to expand the content of that titer docs page. |
Allows users to prefix the node data JSON attributes produced by `augur titers` subcommands (e.g., `cTiter`, `dTiter`, etc.) with a custom string. This change allows users to run multiple titer models for a single build and collect their results into an Auspice JSON without collisions in the node data attribute namespace.
Adds test data based on public titer data and sequences from the measurements panel paper [1] and adds functional tests for basic titer model commands and the new commands with attribute prefixes. [1] https://github.com/blab/measurements-panel/tree/main/data
Documents the specific attributes that get the custom prefix in titer model node data JSON outputs and clarifies the use case for the attribute prefix argument.
dd99587
to
7422a54
Compare
Description of proposed changes
Allows users to prefix the node data JSON attributes produced by
augur titers
subcommands (e.g.,cTiter
,dTiter
, etc.) with a custom string. This change allows users to run multiple titer models for a single build and collect their results into an Auspice JSON without collisions in the node data attribute namespace.Testing
Checklist