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

Hotfix: download latest spike sorting BWM #167

Merged
merged 3 commits into from
Dec 6, 2024
Merged

Hotfix: download latest spike sorting BWM #167

merged 3 commits into from
Dec 6, 2024

Conversation

oliche
Copy link
Member

@oliche oliche commented Dec 5, 2024

This should return True for all clusters.

from one.api import ONE
from brainwidemap.bwm_loading import bwm_units, load_good_units

one = ONE(base_url='https://alyx.internationalbrainlab.org', mode='remote')

units_df = bwm_units(one)
units_df = units_df.set_index(['pid', 'uuids'])

pid = units_df.pid.values[502]
spikes, clusters = load_good_units(one, pid)
set(units_df.loc[pid].index.values).issubset(set(clusters['uuids']))

@oliche oliche merged commit b66b172 into main Dec 6, 2024
10 checks passed
@oliche oliche deleted the hotfix/2.11.2 branch December 6, 2024 12:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant