Skip to content

Commit f44e007

Browse files
committed
Fix flake8 undefined issues
1 parent cd4a10d commit f44e007

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

numcodecs/blosc.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,12 @@
3131

3232
def init():
3333
"""Initialize the Blosc library environment."""
34-
blosc_init()
34+
blosc.init()
3535

3636

3737
def destroy():
3838
"""Destroy the Blosc library environment."""
39-
blosc_destroy()
39+
blosc.destroy()
4040

4141

4242
def compname_to_compcode(cname):
@@ -45,7 +45,7 @@ def compname_to_compcode(cname):
4545
instead."""
4646
if isinstance(cname, str):
4747
cname = cname.encode('ascii')
48-
return blosc_compname_to_compcode(cname)
48+
return blosc.compname_to_compcode(cname)
4949

5050

5151
def list_compressors():
@@ -56,7 +56,7 @@ def list_compressors():
5656
def get_nthreads():
5757
"""Get the number of threads that Blosc uses internally for compression and
5858
decompression."""
59-
return blosc_get_nthreads()
59+
return blosc.get_nthreads()
6060

6161

6262
def err_bad_cname(cname):

0 commit comments

Comments
 (0)