Skip to content

Discrepancy between code and documentation for genotype_matrix() #2596

@alxsimon

Description

@alxsimon

Hi,
While trying to reduce my RAM usage, I found a discrepancy for the type returned by genotype_matrix between the documentation

:rtype: numpy.ndarray (dtype=np.int8)

and the code
ret = np.zeros(shape=(self.num_sites, num_samples), dtype=np.int32)

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