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

refactor(dataset): remove Error checking, now that we reintroduced strict hash checking again

parent 255b758f
Branches
No related tags found
No related merge requests found
Pipeline #16357 failed
......@@ -128,20 +128,12 @@ class ZeMASamples:
if ExtractionDataType.VALUES.value in self._current_dataset.name:
treating_values = True
print(f" Extract values from {self._current_dataset.name}")
elif (
ExtractionDataType.UNCERTAINTIES.value in self._current_dataset.name
):
else:
treating_values = False
print(
f" Extract uncertainties from "
f"{self._current_dataset.name}"
)
else:
raise RuntimeError(
"Somehow there is unexpected data in the dataset to be"
f"processed. Did not expect to find "
f"{self._current_dataset.name}"
)
if self._current_dataset.shape[0] == 3:
for idx, sensor in enumerate(self._current_dataset):
if treating_values:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment