Skip to content

Commit

Permalink
Prepare for release of PyNWB 2.0 (#1394)
Browse files Browse the repository at this point in the history
  • Loading branch information
rly authored Aug 13, 2021
1 parent 5276fb6 commit a27200d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand All @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions tests/integration/ros3/test_ros3.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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)

0 comments on commit a27200d

Please sign in to comment.