From 7335342ea5e9d1a4da850c2c664bee574fcf17da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Al=C3=A1n=20Mu=C3=B1oz?= <amuoz@ed.ac.uk> Date: Fri, 25 Jun 2021 13:48:22 +0100 Subject: [PATCH] bugfix root_dataset Former-commit-id: 6465f4f1f19346399f2f51af540f540af7ff8279 --- core/io/signal.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/io/signal.py b/core/io/signal.py index 91907bd5..05ddb6ae 100644 --- a/core/io/signal.py +++ b/core/io/signal.py @@ -14,7 +14,7 @@ class Signal(BridgeH5): def __getitem__(self, dataset): dset = self._hdf[dataset][()] attrs = self._hdf[dataset].attrs - first_dataset = dataset.split("/")[1] + "/" + first_dataset = dataset.split("/")[0] + "/" timepoints = self._hdf[first_dataset].attrs["processed_timepoints"] if "cell_label" in self._hdf[dataset].attrs: -- GitLab