From d0d7392b9f0931e3de68e4174c5407a772ed2aa7 Mon Sep 17 00:00:00 2001 From: Christopher Morrison Date: Wed, 13 Sep 2023 09:38:09 -0700 Subject: [PATCH] Fixup changelogs/docs. Fix linting. --- allensdk/brain_observatory/nwb/nwb_api.py | 5 ++--- doc_template/visual_behavior_neuropixels.rst | 6 ++++-- doc_template/visual_behavior_optical_physiology.rst | 5 ++--- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/allensdk/brain_observatory/nwb/nwb_api.py b/allensdk/brain_observatory/nwb/nwb_api.py index f2d66330f..f5d592710 100644 --- a/allensdk/brain_observatory/nwb/nwb_api.py +++ b/allensdk/brain_observatory/nwb/nwb_api.py @@ -1,5 +1,3 @@ -from pathlib import Path - import pandas as pd import pynwb import SimpleITK as sitk @@ -24,7 +22,8 @@ def nwbfile(self): return io.read() def __init__(self, path, **kwargs): - ''' Reads data for a single Brain Observatory session from an NWB 2.0 file + ''' Reads data for a single Brain Observatory session from an NWB 2.0 + file ''' self.path = path diff --git a/doc_template/visual_behavior_neuropixels.rst b/doc_template/visual_behavior_neuropixels.rst index 39a8a4c7c..89aa57c86 100644 --- a/doc_template/visual_behavior_neuropixels.rst +++ b/doc_template/visual_behavior_neuropixels.rst @@ -36,10 +36,12 @@ Visual Behavior - Neuropixels DATA FILE CHANGELOG ------------------- -**v0.4.0** Update +**v0.4.0-fix** - Added stimulus presentations columns that are computed on load: -is_sham_change, trials_id + is_sham_change +- Fixed sessions where mouse appears to be running backwards. +- Fixed issues with loading probes **v0.4.0** diff --git a/doc_template/visual_behavior_optical_physiology.rst b/doc_template/visual_behavior_optical_physiology.rst index 2d61eb965..3163a7b36 100644 --- a/doc_template/visual_behavior_optical_physiology.rst +++ b/doc_template/visual_behavior_optical_physiology.rst @@ -340,9 +340,8 @@ NWB Data Changes the session metadata. - All datetimes in NWBs and metadata tables are now explicitly UTC timezone. - New columns in the stimulus_presentations table: - - active, flashes_since_change, is_change, is_image_novel, is_sham_change, - movie_frame_index, movie_repeat, stimulus_block, stimulus_block_name, - stimulus_name + - active, is_image_novel, is_sham_change, movie_frame_index, movie_repeat, + stimulus_block, stimulus_block_name, stimulus_name **v1.0.1**