Skip to content

Update Demography API to use tskit metadata schemas. #1017

Closed

Description

@hyanwong

I would like to be able to get the species_name for a population without having to use json.loads. I'm not sure how one passes a metadata schema into the PopulationConfiguration class, though? At the moment it's being called with metadata={"species_name": node.name.strip()}:

initial_size=Ne, metadata={"species_name": node.name.strip()}

Activity

  1. jeromekelleher commented on May 12, 2020

    @jeromekelleher
    Member

    That's the plan all right. I'm going to use msprime as the first application of the schemas. We need to get tskit 0.3 released first though.

  2. added this to the Release 1.0 milestone on May 12, 2020
  3. jeromekelleher commented on Aug 12, 2020

    @jeromekelleher
    Member

    Depends on #1114

  4. changed the title [-]parse_species_tree and friends should use the new metadata schemas[/-] [+]Update Demography API to use tskit metadata schemas.[/+] on Sep 9, 2020
  5. added 7 commits that reference this issue on Nov 26, 2020
    78e8443
    4b69027
    f147bad
    26cc3f6
    031d898
    caa3991
    2b7bc05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions