Skip to content

Commit

Permalink
nwb-read-tests/nwbv2-read-test.py: Update for API breakages
Browse files Browse the repository at this point in the history
  • Loading branch information
t-b committed Mar 4, 2025
1 parent 0bdb7ee commit 28abc1a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/nwb-read-tests/nwbv2-read-test.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def checkFile(path):
return 1

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

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

print(f"nwbfile: {nwbfile}")
print(f"ic_electrodes: {nwbfile.ic_electrodes}")
print(f"icephys_electrodes: {nwbfile.icephys_electrodes}")
print(f"sweep_table: {nwbfile.sweep_table}")
print(f"lab_meta_data: {nwbfile.lab_meta_data}")
print(f"acquisition: {nwbfile.acquisition}")
Expand Down

0 comments on commit 28abc1a

Please sign in to comment.