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

selective recording vs multi D atom shape bug #1276

Open
Christian-B opened this issue Jan 18, 2023 · 0 comments
Open

selective recording vs multi D atom shape bug #1276

Christian-B opened this issue Jan 18, 2023 · 0 comments
Assignees
Labels
Milestone

Comments

@Christian-B
Copy link
Member

Simplification in Neuron recorder _rate_and_count_per_slice method

    count = sum(vertex_slice.lo_atom <= index <= vertex_slice.hi_atom
                for index in self.__indexes[variable])

This will fail if slice.get_raster_ids( atoms_shape) returns ids which fall outside of the slice.low_atom, slice.hi_atom range

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

No branches or pull requests

2 participants