Skip to content
Snippets Groups Projects
Verified Commit 00a7a736 authored by Björn Ludwig's avatar Björn Ludwig
Browse files

fix(dataset): remove strict hash checking to drastically increase performance

parent 3d8a75f8
No related branches found
No related tags found
No related merge requests found
......@@ -4,7 +4,6 @@ __all__ = [
"ExtractionDataType",
"LOCAL_ZEMA_DATASET_PATH",
"ZeMASamples",
"ZEMA_DATASET_HASH",
"ZEMA_DATASET_URL",
"ZEMA_QUANTITIES",
]
......@@ -27,9 +26,6 @@ from pooch import retrieve
from zema_emc_annotated.data_types import RealMatrix, RealVector, UncertainArray
LOCAL_ZEMA_DATASET_PATH = Path(dirname(__file__), "datasets")
ZEMA_DATASET_HASH = (
"sha256:fb0e80de4e8928ae8b859ad9668a1b6ea6310028a6690bb8d4c1abee31cb8833"
)
ZEMA_DATASET_URL = "https://zenodo.org/record/5185953/files/axis11_2kHz_ZeMA_PTB_SI.h5"
ZEMA_QUANTITIES = (
"Acceleration",
......@@ -104,7 +100,7 @@ class ZeMASamples:
def _extract_data(self, normalize: bool) -> UncertainArray:
dataset_full_path = retrieve(
url=ZEMA_DATASET_URL,
known_hash=ZEMA_DATASET_HASH,
known_hash=None,
path=LOCAL_ZEMA_DATASET_PATH,
progressbar=True,
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment