Skip to content

Display methods for Variant #2367

@jeromekelleher

Description

@jeromekelleher

When we print out a Variant we get <tskit.genotypes.Variant object at 0x7f58b0483430>

We should add a str and repr_html to fix this.

Did this change in 0.5.0? Was Variant a dataclass before, and therefore inherited display methods?

Metadata

Metadata

Assignees

Labels

Python APIIssue is about the Python APIenhancementNew feature or request

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions