From a27200d1819ba621284661f1f0607f31143bf6ad Mon Sep 17 00:00:00 2001 From: Ryan Ly Date: Fri, 13 Aug 2021 13:58:00 -0700 Subject: [PATCH] Prepare for release of PyNWB 2.0 (#1394) --- CHANGELOG.md | 2 ++ tests/integration/ros3/test_ros3.py | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f6db8c8f1..734efcd2d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -33,6 +33,7 @@ - Added thumbnails for tutorials to improve presentation of online docs. @oruebel (#1349) - Used `sphinx.ext.extlinks` extension in docs to simplify linking to common targets. @oruebel (#1349) - Created new section for advanced I/O tutorials and moved parallel I/O tutorial to its own file. @oruebel (#1349) +- Overhauled documentation on extensions. @bendichter, @rly, @oruebel (#1350) - Updated the optical physiology / Calcium imaging tutorial. @bendichter, @weiglszonja (#1375) - Added a tutorial on streaming using the ROS3 driver. @rly (#1393) @@ -43,6 +44,7 @@ for tests and tutorials. @oruebel (#1349, #1383) - Added on-push and nightly tests of streaming using the ROS3 driver. @rly (#1393) - These tests make use of a new dandiset for testing the API: https://gui.dandiarchive.org/#/dandiset/000126 +- Improve documentation and test for ``CorrectedImageStack``, ``MotionCorrection``. @rly, @bendichter (#1306, #1374) ### Bug fixes: - Updated behavior of ``make clean`` command for docs to ensure tutorial files are cleaned up. @oruebel (#1349) diff --git a/tests/integration/ros3/test_ros3.py b/tests/integration/ros3/test_ros3.py index 6ae557c1c..b37f931de 100644 --- a/tests/integration/ros3/test_ros3.py +++ b/tests/integration/ros3/test_ros3.py @@ -8,7 +8,7 @@ class TestRos3Streaming(TestCase): def test_read(self): s3_path = 'https://dandiarchive.s3.amazonaws.com/ros3test.nwb' - with NWBHDF5IO(s3_path, mode='r', load_namespaces=True, driver='ros3') as io: + with NWBHDF5IO(s3_path, mode='r', driver='ros3') as io: nwbfile = io.read() test_data = nwbfile.acquisition['ts_name'].data[:] self.assertEqual(len(test_data), 3) @@ -17,7 +17,7 @@ def test_dandi_read(self): # this is the NWB Test Data dandiset #000126 sub-1/sub-1.nwb s3_path = 'https://dandiarchive.s3.amazonaws.com/blobs/11e/c89/11ec8933-1456-4942-922b-94e5878bb991' - with NWBHDF5IO(s3_path, mode='r', load_namespaces=True, driver='ros3') as io: + with NWBHDF5IO(s3_path, mode='r', driver='ros3') as io: nwbfile = io.read() test_data = nwbfile.acquisition['TestData'].data[:] self.assertEqual(len(test_data), 3)