[Bug]: make_trial_event_controller
criteria for time columns allows "_time"
to appear anywhere in column name
#314
Labels
bug
Something isn't working
What happened?
The logic in
make_trial_event_controller
to determine trial event columns checks for"_time" in column_name
, which is weaker thancolumn_name.endswith("_time")
, the check used bynwbinspector
for example. Unsure what the consensus standard is here but in my case a boolean column called"has_timeout"
was included as an alignment field, so I think the stronger check would be better.Steps to Reproduce
n/a
Traceback
Operating System
Linux
Python Version
3.10
Package Versions
nwbinspector==0.11.3
Code of Conduct
The text was updated successfully, but these errors were encountered: