Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In Block.filter(), the option object='SpikeTrain' is case sensivtive #13

Open
mdenker opened this issue Jun 8, 2015 · 1 comment
Open

Comments

@mdenker
Copy link
Member

mdenker commented Jun 8, 2015

It should also accept, e.g., 'spiketrain' or 'SpiKETRain'.

@lphan
Copy link

lphan commented Jun 16, 2015

After some changes in implementation, the following tests worked :

blk.filter(a=5, objects=AnalogSignal)  # worked
blk.filter(a=5, objects=['AnalogSignal'])  # worked
blk.filter(a=5, objects='AnalogSignal')  # worked
blk.filter(a=5, objects='ANALogSIGnal')  # worked
blk.filter(a=5, objects='analogsignal')  # worked

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants