Skip to content

Commit 0275bcf

Browse files
authored
Merge pull request #10 from spcl/refactor_base_compression
Refactor base compression
2 parents 8228196 + c895a15 commit 0275bcf

File tree

2 files changed

+262
-84
lines changed

2 files changed

+262
-84
lines changed

ebcc/zarr_filter.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,6 @@ class EBCCZarrFilter(Codec):
2020

2121
def __init__(self, arglist):
2222
self.arglist = np.array(arglist, dtype=np.uint32)
23-
if sys.platform.startswith('linux'):
24-
self.c_stdlib = ctypes.CDLL('libc.so.6')
25-
elif sys.platform == 'darwin':
26-
self.c_stdlib = ctypes.CDLL('libc.dylib')
27-
elif sys.platform == 'win32':
28-
self.c_stdlib = ctypes.CDLL('msvcrt.dll')
29-
else:
30-
raise RuntimeError("Unsupported platform: " + sys.platform)
3123
self.lib = ctypes.CDLL(EBCC_FILTER_PATH)
3224
self.lib.populate_config.argtypes = [
3325
ctypes.POINTER(CodecConfigT),

0 commit comments

Comments
 (0)