Repository navigation
Commit 7e31fa2
BaseRawIO: fix the has_buffer_description_api() check in get_analogsignal_buffer_description (#1930)
* BaseRawIO: the has_buffer_description_api() check tested the method object, not the result.
A reader with a false flag went directly to the private method. For a reader with a
method that shouldn't be used (like the Blackrock on PTP files) it returned a wrong
description with no errors. An ExampleRawIO reader, whos flag is False, must raise
ValueError.
* Remove the has_buffer_description_api test
---------
Co-authored-by: Colin McNabb <cmcnabb@blackrockneuro.com>1 parent 442658a commit 7e31fa2
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1544 | 1544 | | |
1545 | 1545 | | |
1546 | 1546 | | |
1547 | | - | |
| 1547 | + | |
1548 | 1548 | | |
1549 | 1549 | | |
1550 | 1550 | | |
| |||
0 commit comments