slow5lib icon indicating copy to clipboard operation
slow5lib copied to clipboard

pyslow5: assign s5.header.num_read_groups to readable value

Open Psy-Fer opened this issue 2 years ago • 1 comments

Currently there isn't a way to know the number of read_groups in a file without either monitoring read_group as you loop or doing a try/except on the get_all_headers(read_group=i) call.

I should create a static value within the API that stores the s5.header.num_read_groups value for the user to know this right after opening the file.

Psy-Fer avatar Jul 24 '23 05:07 Psy-Fer

This was added in https://github.com/hasindu2008/slow5lib/commit/b729ad4b22541d4d87ee551e9ce84a2f0ab014c5

Psy-Fer avatar Aug 01 '23 05:08 Psy-Fer