From a6e29a6c4d8bbd30575337d87a7bf59d0e13775d Mon Sep 17 00:00:00 2001 From: alessandratrapani Date: Tue, 12 Nov 2024 11:46:51 +0100 Subject: [PATCH] use always_write_timestamps conversion option --- .../zaki_2024/interfaces/miniscope_imaging_interface.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/cai_lab_to_nwb/zaki_2024/interfaces/miniscope_imaging_interface.py b/src/cai_lab_to_nwb/zaki_2024/interfaces/miniscope_imaging_interface.py index c2c31c6..eb61e87 100644 --- a/src/cai_lab_to_nwb/zaki_2024/interfaces/miniscope_imaging_interface.py +++ b/src/cai_lab_to_nwb/zaki_2024/interfaces/miniscope_imaging_interface.py @@ -350,6 +350,7 @@ def add_to_nwbfile( photon_series_index: int = 0, stub_test: bool = False, stub_frames: int = 100, + always_write_timestamps: bool = True, ): from ndx_miniscope.utils import add_miniscope_device @@ -377,4 +378,5 @@ def add_to_nwbfile( metadata=metadata, photon_series_type=photon_series_type, photon_series_index=photon_series_index, + always_write_timestamps=always_write_timestamps, )