Skip to content

Simplify should update ids in Individual.parents #1136

Closed

Description

@benjeffery

After simplification the individual.parent ids need to be remapped.
I'm assuming here that any reference to a parent individual that has been removed is removed from the parent array?

Activity

  1. added this to the Python 0.3.5 milestone on Jan 25, 2021
  2. changed the title [-]Simplify should update individual ids in `Individual.parents`[/-] [+]Simplify should update ids in `Individual.parents`[/+] on Jan 25, 2021
  3. jeromekelleher commented on Jan 25, 2021

    @jeromekelleher
    Member

    If the data mode is consitent (i.e., the pedigree and genetic information agree) it should all take care of itself, and we just need to remap the IDs, and then remove any individuals that are not the parent of anyone.

    We should think about how to deal with having pedigree information that disagrees with the genetic information though, and whether this is somethings we can detect at input time, and if not, if we should deal with it during simplify.

  4. added
    bug
    on Mar 5, 2021
  5. benjeffery commented on Mar 12, 2021

    @benjeffery
    MemberAuthor

    Closed by #1186

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

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions