Skip to content

Commit

Permalink
Fix documentation comment
Browse files Browse the repository at this point in the history
  • Loading branch information
dcdehaas committed Dec 10, 2024
1 parent 1d4b77d commit e6a67c9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions picovcf.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1382,8 +1382,10 @@ class IGDData {
SampleT numIndividuals() const { return m_header.numIndividuals; }

/**
* IGD files have a fixed ploidy, so this is just getPloidy()*numIndividuals()
* @return Number of samples (haplotypes).
* IGD files have a fixed ploidy, so this is either getPloidy()*numIndividuals()
* (for phased data) or the same as numIndividuals() (for unphased).
*
* @return Number of samples. Every sample index will be >= 0 and < numSamples().
*/
SampleT numSamples() const {
if (m_header.flags & IGD_PHASED) {
Expand Down

0 comments on commit e6a67c9

Please sign in to comment.