Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,11 @@ on:
push:
branches:
- main
paths-ignore:
- 'pythonbible/bible/versions/**'
pull_request:

paths-ignore:
- '**/bible/versions/**'
jobs:
analyze:
name: Analyze
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,15 +71,15 @@ The search functionality should return the following list of scripture reference
start_verse=12,
end_chapter=18,
end_verse=14,
end_book=None
end_book=<Book.MATTHEW: 40>
),
NormalizedReference(
book=<Book.LUKE: 42>,
start_chapter=15,
start_verse=3,
end_chapter=15,
end_verse=7,
end_book=None
end_book=<Book.LUKE: 42>
)
]
```
Expand Down Expand Up @@ -111,14 +111,14 @@ For example, given the following normalized scripture reference for Genesis 1:1-
```python
import pythonbible as bible

reference = bible.NormalizedReference(bible.Book.GENESIS, 1, 1, 1, 4)
reference = bible.NormalizedReference(bible.Book.GENESIS, 1, 1, 1, 4, bible.Book.GENESIS)
verse_ids = bible.convert_reference_to_verse_ids(reference)
```

The conversion functionality would return the following list of verse id integers:

```python
[1001001, 1001002, 1001003, 1001004]
(1001001, 1001002, 1001003, 1001004)
```

### Converting a list of verse id integers into a list of normalized scripture references
Expand All @@ -143,15 +143,15 @@ The conversion functionality would return the following list of normalized scrip
start_verse=12,
end_chapter=18,
end_verse=14,
end_book=None
end_book=<Book.MATTHEW: 40>
),
NormalizedReference(
book=<Book.LUKE: 42>,
start_chapter=15,
start_verse=3,
end_chapter=15,
end_verse=7,
end_book=None
end_book=<Book.LUKE: 42>
)
]
```
Expand Down
Loading