Skip to content

Deduplicate sites not working with multichar strings #511

Closed

Description

@jeromekelleher

To reproduce:

$ python3 -Wignore -m nose -vs tests/test_tables.py:TestDeduplicateSites.test_multichar_ancestral_states

gives

 id  position        ancestral_state  metadata
0       0.27492011
1       0.27492011      0
2       0.30636063      A
3       0.30636063      0
4       0.40236064      AA
5       0.40236064      0
6       0.76582637      AAA
7       0.76582637      0
id      position        ancestral_state metadata
0       0.27492011
1       0.30636063      A
2       0.40236064      AA
3       0.76582637

These are the before and afters. 0.76582637 should have "AAA" but it has the empty string instead.

cc @petrelharp

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

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions