Skip to content

Commit

Permalink
add ex-zd compression
Browse files Browse the repository at this point in the history
  • Loading branch information
Psy-Fer committed Sep 17, 2024
1 parent a2611de commit cd85cc1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion python/pyslow5.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -284,12 +284,15 @@ cdef class Open:
# SLOW5_COMPRESS_ZLIB,
# SLOW5_COMPRESS_SVB_ZD, /* streamvbyte zigzag delta */
# SLOW5_COMPRESS_ZSTD,
# SLOW5_COMPRESS_EX_ZD,
# };
self.slow5_press_method = {"none": 0,
"zlib": 1,
"svb_zd": 2,
"svb-zd": 2,
"zstd": 3}
"zstd": 3,
"ex-zd": 4,
"ex_zd": 4,}

p = str.encode(pathname)
self.path = pathname
Expand Down

0 comments on commit cd85cc1

Please sign in to comment.