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

Small pull request including bugfix and JSON filtering #229

Merged
merged 3 commits into from
Apr 5, 2022

Conversation

jmcbroome
Copy link
Collaborator

This small PR addresses an issue Angie found with my implementation of mutation masking and this issue about JSON line filtering. Local testing indicates that the latter change doesn't cause problems for locally generated files, but as I'm not directly familiar with the online UShER interface or the data it loads into the JSON output, @AngieHinrichs may want to verify that this behaves as expected and resolves the indicated issue as Roemer thinks it should.

@yatisht yatisht merged commit a37da00 into yatisht:master Apr 5, 2022
@@ -478,7 +478,7 @@ void write_json_from_mat(MAT::Tree* T, std::string output_filename, std::vector<
{
"meta", {
{"title",title},
{"filters",json::array({"country"})},
{"filters",json::array({"country","userOrOld"})},

Choose a reason for hiding this comment

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

I'm confused why country filtering wasn't already possible.

For some reason, the filters array in Usher auspice.json was empty. Have you checked that it now contains "country"? @jmcbroome

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

You may have already spoken to Angie, but it appears that the UShER online interface hosted by UCSC uses a completely different codebase for this. I think you'll need to reach out to her to address filtering fields for JSONs yielded by hgPhyloPlace.

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