Skip to content

example data linked to from page incorrect (simple example does not run) #129

@petrelharp

Description

@petrelharp

The minimal example in the docs fails with this error:

AttributeError: 'DataFrame' object has no attribute 'cM'

because the map file obtained from the link in those docs:

Minimal usage using the provided example data:
looks like this:

1	1	0	0

1	2	19.5	15000000

However, the corresponding file in the github repo does have those headers. Looks like that example.zip needs to be updated?

p.s. I also noticed that this file doesn't have column names; I'm not sure if that's a problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions