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

Support v2 auspice JSONs in json_to_tree #432

Merged
merged 1 commit into from
Jan 25, 2020
Merged

Commits on Jan 22, 2020

  1. Support v2 auspice JSONs in json_to_tree

    Updates the json_to_tree utility to support v2 auspice JSONs which previously
    caused the tool to break. This commit minimally modifies the original function
    to pull out the tree information from v2 JSONs. The function does not attempt to
    maintain the same attribute interface between v1 and v2 JSONs. For example, the
    `attr` attribute from v1 JSONs is split into the `node_attrs` and `branch_attrs`
    attributes in v2 JSONs and the json_to_tree function does not try to force all
    outputs to have a unified `attr` attribute.
    
    This commit also adds a v2 tree and metadata JSON from the Zika tutorial build
    to the test data and doctests for the new json_to_tree support for these v2
    JSONs.
    
    Closes #428.
    huddlej committed Jan 22, 2020
    Configuration menu
    Copy the full SHA
    47de1ba View commit details
    Browse the repository at this point in the history