-
Notifications
You must be signed in to change notification settings - Fork 190
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
Curation format issues #3582
Comments
Following this issue I would like to know if there is an agreement on the curation dict format that you would like to use in the future ? I'm encountering a lot of issues related to various formats when running the
if len(set(group_values)) == 1:
# all group has the same label or empty
sorting.set_property(key, values=group_values, ids=[new_unit_id])
if not isinstance(label_value, list):
raise ValueError(f"Curation format: manual_labels {unit_id} is invalid shoudl be a list") What should we do ? Thanks |
I also would like to mention this related issue in the call of My fix is the following : if len(curation_dict['merge_unit_groups']) == 0:
new_unit_ids = analyzer.unit_ids
else:
analyzer, new_unit_ids = analyzer.merge_units(
curation_dict["merge_unit_groups"],
censor_ms=censor_ms,
merging_mode=merging_mode,
sparsity_overlap=sparsity_overlap,
new_id_strategy=new_id_strategy,
return_new_unit_ids=True,
format="memory",
verbose=verbose,
**job_kwargs,
) But maybe you prefere modifying the |
Thanks @Antho2422 We will have a round of debugging for the curation format and the integration with the GUI and merge function! Thanks for opening the issues. We'll get back to you when there is a PR yoyu can test :) |
Hi all,
There is an issue with the gui when doing the curation and saving as JSON. The output JSON from the spikeinterface gui does not have the
"format_version":
key. This causes issues when trying to run theapply_curation
function since it check the dictionnary structure.Cheers,
Anthony
The text was updated successfully, but these errors were encountered: