From 3754e62b013854fcfd1294ec6f61c841789a0587 Mon Sep 17 00:00:00 2001 From: Ben Dichter Date: Wed, 19 Oct 2022 09:54:34 -0400 Subject: [PATCH 1/2] Update moviedatainterface.py --- .../datainterfaces/behavior/movie/moviedatainterface.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/neuroconv/datainterfaces/behavior/movie/moviedatainterface.py b/src/neuroconv/datainterfaces/behavior/movie/moviedatainterface.py index e98add2a1..88b67f9a4 100644 --- a/src/neuroconv/datainterfaces/behavior/movie/moviedatainterface.py +++ b/src/neuroconv/datainterfaces/behavior/movie/moviedatainterface.py @@ -147,12 +147,8 @@ def run_conversion( stub_test : bool If ``True``, truncates the write operation for fast testing. The default is ``False``. external_mode : bool - :py:class:`~pynwb.image.ImageSeries` in :py:class:`~pynwb.file.NWBFile` may contain either explicit movie - data or file paths to external movie files. If True, this utilizes the more efficient method of merely - encoding the file path linkage (recommended). For data sharing, the video files must be contained in the - same folder as the :py:class:`~pynwb.file.NWBFile`. If the intention of this :py:class:`~pynwb.file.NWBFile` - involves an upload to DANDI, the non-NWBFile types are not allowed so this flag would have to be set to - ``False``. The default is ``True``. + :py:class:`~pynwb.image.ImageSeries` may contain either video data or file paths to external movie files. + If True, this utilizes the more efficient method of writing the relative path to the video files (recommended). starting_times : list, optional List of start times for each movie. If unspecified, assumes that the movies in the file_paths list are in sequential order and are contiguous. From c1dbf701173c08369cdaac6aef3d121767b148ef Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 19 Oct 2022 13:56:24 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- .../datainterfaces/behavior/movie/moviedatainterface.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/neuroconv/datainterfaces/behavior/movie/moviedatainterface.py b/src/neuroconv/datainterfaces/behavior/movie/moviedatainterface.py index 88b67f9a4..6594db001 100644 --- a/src/neuroconv/datainterfaces/behavior/movie/moviedatainterface.py +++ b/src/neuroconv/datainterfaces/behavior/movie/moviedatainterface.py @@ -147,7 +147,7 @@ def run_conversion( stub_test : bool If ``True``, truncates the write operation for fast testing. The default is ``False``. external_mode : bool - :py:class:`~pynwb.image.ImageSeries` may contain either video data or file paths to external movie files. + :py:class:`~pynwb.image.ImageSeries` may contain either video data or file paths to external movie files. If True, this utilizes the more efficient method of writing the relative path to the video files (recommended). starting_times : list, optional List of start times for each movie. If unspecified, assumes that the movies in the file_paths list are in