From 2eea3230db1bd6d66d2b9e1de82ed1cb1893fca8 Mon Sep 17 00:00:00 2001 From: Heberto Mayorquin Date: Fri, 15 Nov 2024 21:48:49 -0600 Subject: [PATCH] wrong reference to timestamps --- src/neuroconv/datainterfaces/behavior/deeplabcut/_dlc_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/neuroconv/datainterfaces/behavior/deeplabcut/_dlc_utils.py b/src/neuroconv/datainterfaces/behavior/deeplabcut/_dlc_utils.py index 5fb2afc6a..14866510d 100644 --- a/src/neuroconv/datainterfaces/behavior/deeplabcut/_dlc_utils.py +++ b/src/neuroconv/datainterfaces/behavior/deeplabcut/_dlc_utils.py @@ -279,7 +279,7 @@ def _write_pes_to_nwbfile( else: timestamps_cleaned = timestamps - timestamps = np.asarray(timestamps).astype("float64", copy=False) + timestamps = np.asarray(timestamps_cleaned).astype("float64", copy=False) pes = PoseEstimationSeries( name=f"{animal}_{keypoint}" if animal else keypoint, description=f"Keypoint {keypoint} from individual {animal}.",