We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6fc51b0 commit 441cfe2Copy full SHA for 441cfe2
element_array_ephys/export/nwb/nwb.py
@@ -18,11 +18,8 @@
18
19
assert probe.schema.is_activated(), 'probe not yet activated'
20
21
-for ephys in (ephys_no_curation,):
22
- if ephys.schema.is_activated():
23
- break
24
-else:
25
- raise AssertionError('ephys not yet activated')
+assert ephys_no_curation.schema.is_activated, \
+ "The ephys module must be activated before export."
26
27
28
class DecimalEncoder(json.JSONEncoder):
0 commit comments