Skip to content

Commit 9844de6

Browse files
committed
Fix documentation so it's actually correct
1 parent 8f5cdbc commit 9844de6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Note that if you would like to include information about soft-masked bases, you
5050

5151
You can directly access a particular chromosome by specifying its name.
5252

53-
>>> tb.chroms()
53+
>>> tb.chroms('chr1')
5454
150L
5555

5656
The lengths are stored as a "long" integer type, which is why there's an `L` suffix. If you specify a nonexistent chromosome then nothing is output.
@@ -105,7 +105,7 @@ The start and end position are as with the `sequence()` method described above.
105105

106106
If integer counts are preferred, then they can instead be returned.
107107

108-
>>> tb.bases("chr1", 24, 74, True)
108+
>>> tb.bases("chr1", 24, 74, False)
109109
{'A': 6, 'C': 6, 'T': 6, 'G': 6}
110110

111111
## Close a file

0 commit comments

Comments
 (0)