From 074103c2ad3e313199e603a3834b59f77cc9d27b Mon Sep 17 00:00:00 2001 From: bendichter Date: Thu, 6 Jul 2023 19:12:41 -0400 Subject: [PATCH 1/6] allow datetimes to be just dates --- docs/storage/source/storage_hdf5.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/storage/source/storage_hdf5.rst b/docs/storage/source/storage_hdf5.rst index c5812174..7a3f0c56 100644 --- a/docs/storage/source/storage_hdf5.rst +++ b/docs/storage/source/storage_hdf5.rst @@ -200,8 +200,10 @@ The mappings of data types is as follows | * compound dtype | HDF5 compound data type | | +--------------------------+----------------------------------+----------------+ | * "isodatetime" | ASCII ISO8061 datetime string. | variable | - | | For example | | + | | For example | encoding) | | | ``2018-09-28T14:43:54.123+02:00``| | + | * "datetime" | Can be missing timezone. Can | | + | | also be missing time. | | +--------------------------+----------------------------------+----------------+ From ef2b407530bde370fd1ca11819a09dfb89e9c9dc Mon Sep 17 00:00:00 2001 From: Ryan Ly Date: Tue, 6 Feb 2024 14:30:56 -0800 Subject: [PATCH 2/6] Update storage_hdf5.rst --- docs/storage/source/storage_hdf5.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/storage/source/storage_hdf5.rst b/docs/storage/source/storage_hdf5.rst index 7a3f0c56..04784eec 100644 --- a/docs/storage/source/storage_hdf5.rst +++ b/docs/storage/source/storage_hdf5.rst @@ -200,7 +200,7 @@ The mappings of data types is as follows | * compound dtype | HDF5 compound data type | | +--------------------------+----------------------------------+----------------+ | * "isodatetime" | ASCII ISO8061 datetime string. | variable | - | | For example | encoding) | + | | For example | encoding | | | ``2018-09-28T14:43:54.123+02:00``| | | * "datetime" | Can be missing timezone. Can | | | | also be missing time. | | From 684d8f67130d2627cb5f5e282f2b1dd404206c2d Mon Sep 17 00:00:00 2001 From: Ryan Ly Date: Fri, 31 Jan 2025 15:08:43 -0800 Subject: [PATCH 3/6] Update docs/storage/source/storage_hdf5.rst --- docs/storage/source/storage_hdf5.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/storage/source/storage_hdf5.rst b/docs/storage/source/storage_hdf5.rst index 04784eec..a162db35 100644 --- a/docs/storage/source/storage_hdf5.rst +++ b/docs/storage/source/storage_hdf5.rst @@ -202,8 +202,7 @@ The mappings of data types is as follows | * "isodatetime" | ASCII ISO8061 datetime string. | variable | | | For example | encoding | | | ``2018-09-28T14:43:54.123+02:00``| | - | * "datetime" | Can be missing timezone. Can | | - | | also be missing time. | | + | * "datetime" | Can be missing time. | | +--------------------------+----------------------------------+----------------+ From 02009c68183c350e0f31e532a0bc32b837978181 Mon Sep 17 00:00:00 2001 From: Ryan Ly Date: Fri, 31 Jan 2025 15:08:57 -0800 Subject: [PATCH 4/6] Update storage_hdf5.rst --- docs/storage/source/storage_hdf5.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/storage/source/storage_hdf5.rst b/docs/storage/source/storage_hdf5.rst index a162db35..662c751a 100644 --- a/docs/storage/source/storage_hdf5.rst +++ b/docs/storage/source/storage_hdf5.rst @@ -202,7 +202,7 @@ The mappings of data types is as follows | * "isodatetime" | ASCII ISO8061 datetime string. | variable | | | For example | encoding | | | ``2018-09-28T14:43:54.123+02:00``| | - | * "datetime" | Can be missing time. | | + | * "datetime" | Can be missing time. | | +--------------------------+----------------------------------+----------------+ From 7dcd70a8af199c95b50c140514f1fe0f6ae3fd2a Mon Sep 17 00:00:00 2001 From: Ryan Ly Date: Fri, 31 Jan 2025 15:10:43 -0800 Subject: [PATCH 5/6] Update storage_hdf5.rst --- docs/storage/source/storage_hdf5.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/storage/source/storage_hdf5.rst b/docs/storage/source/storage_hdf5.rst index 662c751a..7b9a0720 100644 --- a/docs/storage/source/storage_hdf5.rst +++ b/docs/storage/source/storage_hdf5.rst @@ -199,9 +199,9 @@ The mappings of data types is as follows +--------------------------+----------------------------------+----------------+ | * compound dtype | HDF5 compound data type | | +--------------------------+----------------------------------+----------------+ - | * "isodatetime" | ASCII ISO8061 datetime string. | variable | - | | For example | encoding | - | | ``2018-09-28T14:43:54.123+02:00``| | + | * "isodatetime" | ISO 8601 datetime string. | variable | + | | For example, | (ASCII | + | | ``2018-09-28T14:43:54.123+02:00``| encoding) | | * "datetime" | Can be missing time. | | +--------------------------+----------------------------------+----------------+ From d6f9261225972c68f3288080d8c1ce62c5508533 Mon Sep 17 00:00:00 2001 From: Ryan Ly Date: Fri, 31 Jan 2025 15:14:36 -0800 Subject: [PATCH 6/6] Update nwb.file.yaml --- core/nwb.file.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/nwb.file.yaml b/core/nwb.file.yaml index 8a882cdf..ba480a76 100644 --- a/core/nwb.file.yaml +++ b/core/nwb.file.yaml @@ -120,7 +120,7 @@ groups: or is pulled from an external stimulus library. Stimuli are here defined as any signal that is pushed into the system as part of the experiment (eg, sound, video, voltage, etc). Many different experiments can use the same - stimuli, and stimuli can be re-used during an experiment. The stimulus group + stimuli, and stimuli can be reused during an experiment. The stimulus group is organized so that one version of template stimuli can be stored and these be used multiple times. These templates can exist in the present file or can be linked to a remote library file.'