Skip to content

Commit

Permalink
fix readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Psy-Fer committed Oct 17, 2022
1 parent 103a1bb commit acadc74
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion docs/pyslow5_api/pyslow5.md
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ print(end_reason_labels)

readID = "r1"
read = s5.get_read(readID, aux='all')
er_index = read['end_reason]
er_index = read['end_reason']
er = end_reason_labels[er_index]

print("{}: {}".format(er_index, er))
Expand Down Expand Up @@ -363,6 +363,7 @@ header = s5.get_empty_header()
```python
s5 = slow5.Open(file, w)
header, end_reason_labels = s5.get_empty_header(aux=True)
```

#### `write_header(header, read_group=0, end_reason_labels=None)`:

Expand Down
3 changes: 2 additions & 1 deletion python/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ print(end_reason_labels)

readID = "r1"
read = s5.get_read(readID, aux='all')
er_index = read['end_reason]
er_index = read['end_reason']
er = end_reason_labels[er_index]

print("{}: {}".format(er_index, er))
Expand Down Expand Up @@ -363,6 +363,7 @@ header = s5.get_empty_header()
```python
s5 = slow5.Open(file, w)
header, end_reason_labels = s5.get_empty_header(aux=True)
```

#### `write_header(header, read_group=0, end_reason_labels=None)`:

Expand Down

0 comments on commit acadc74

Please sign in to comment.