Skip to content

Add ReferenceSequence display summaries #1984

@jeromekelleher

Description

@jeromekelleher

#1944 added a basic repr for the ReferenceSequence class, but no str or repr_html implementations.

We want these to show useful information like the length of the reference sequence, and maybe the first as last 10 chars.

We should also incorporate this into the TreeSequence and TableCollection summaries.

Add tests to the test_reference_sequence.py file near the repr tests.

Metadata

Metadata

Assignees

Labels

Python APIIssue is about the Python APIenhancementNew feature or requestfutureIssues that are closed as they are not planned in the medium-term, but which are still desirable.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions