Skip to content

Add documentation for all VariantRecord related classes#1359

Open
TimD1 wants to merge 2 commits intopysam-developers:masterfrom
TimD1:td_add-variant-record-docs
Open

Add documentation for all VariantRecord related classes#1359
TimD1 wants to merge 2 commits intopysam-developers:masterfrom
TimD1:td_add-variant-record-docs

Conversation

@TimD1
Copy link
Contributor

@TimD1 TimD1 commented Sep 11, 2025

This includes the following small classes which were previously missing documentation:

  • VariantRecordFilter
  • VariantRecordFormat
  • VariantRecordInfo
  • VariantRecordSamples

Documentation for VariantRecordSample was more extensive, and introduced in a previous MR: #1358

@TimD1 TimD1 changed the title feat(docs): add documentation for all VariantRecord related classes Add documentation for all VariantRecord related classes Sep 15, 2025
@TimD1 TimD1 force-pushed the td_add-variant-record-docs branch from 1b8370b to 2774a7f Compare September 15, 2025 14:54

if index < 0 or index >= n:
raise IndexError('invalid filter index')
raise IndexError('Invalid filter index.')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

More than 95% of the error strings in both the Python stdlib and pysam don't have a trailing fullstop, so that's the convention I'd like to follow. I'm on board with capitalising these sentences, but let's leave them without a final period/fullstop.

@TimD1 TimD1 force-pushed the td_add-variant-record-docs branch from 2774a7f to 64325d2 Compare February 26, 2026 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants