Skip to content

Commit 5109383

Browse files
committed
remove dead code and move imports
1 parent 66433ae commit 5109383

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

src/pynxtools/dataconverter/chunk.py

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@
1717
#
1818
"""Configuration defaults of the dataconverter."""
1919

20+
import numpy as np
21+
22+
from pynxtools.dataconverter.helpers import logger
2023

2124
# HDF5 data storage layout for HDF5 datasets is "contiguous" unless
2225
# one wraps the payload for a dataconverter template into a dictionary with
@@ -72,13 +75,6 @@
7275

7376
CHUNK_CONFIG_DEFAULT = CHUNK_CONFIG_HFIVEPY
7477

75-
import numpy as np
76-
77-
# from pynxtools.dataconverter.chunk import CHUNK_CONFIG_DEFAULT
78-
from pynxtools.dataconverter.helpers import logger
79-
80-
"""Utilities for overwriting h5py chunking heuristic to consider domain-specific access pattern."""
81-
8278

8379
def prioritized_axes_heuristic(
8480
data: np.ndarray,

0 commit comments

Comments
 (0)