Skip to content

Commit 28abc1a

Browse files
committed
nwb-read-tests/nwbv2-read-test.py: Update for API breakages
1 parent 0bdb7ee commit 28abc1a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/nwb-read-tests/nwbv2-read-test.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def checkFile(path):
2525
return 1
2626

2727
# 1.) pynwb Validation
28-
comp = run(["python", "-m", "pynwb.validate", path],
28+
comp = run(["pynwb-validate", path],
2929
stdout=PIPE, stderr=STDOUT, universal_newlines=True, timeout=120)
3030

3131
if comp.returncode != 0:
@@ -49,7 +49,7 @@ def checkFile(path):
4949
nwbfile = io.read()
5050

5151
print(f"nwbfile: {nwbfile}")
52-
print(f"ic_electrodes: {nwbfile.ic_electrodes}")
52+
print(f"icephys_electrodes: {nwbfile.icephys_electrodes}")
5353
print(f"sweep_table: {nwbfile.sweep_table}")
5454
print(f"lab_meta_data: {nwbfile.lab_meta_data}")
5555
print(f"acquisition: {nwbfile.acquisition}")

0 commit comments

Comments
 (0)