Fix getting fragments by number
Description
Fixes bug reported by @reinholdt in issue #44 (closed) where the get_fragments_by_number()
method was basically nun-functional. With this fix the method will only accept list of integers but ranges can be easily included at the user level using *range()
, e.g. [4, *range(10, 21), 30]
.
Types of changes
- Bug fix (non-breaking change which fixes an issue)