Skip to content

Commit b87fbea

Browse files
szhanmergify[bot]
authored andcommitted
Add docstring for SampleData.sequence_length
1 parent 9cc4d03 commit b87fbea

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tsinfer/formats.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2290,6 +2290,9 @@ def data_equal(self, other):
22902290

22912291
@property
22922292
def sequence_length(self):
2293+
"""
2294+
Returns the sequence length.
2295+
"""
22932296
return self.data.attrs["sequence_length"]
22942297

22952298
@property

0 commit comments

Comments
 (0)