You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
This problem started happening after I pulled a recent version of spyglass (in December). After manual curation, when inserting curated results into the tables, it needs to load labels from sort-curations, but spyglass reported "module 'sortingview' has no attribute 'trythis_load_sorting_curation'"
---------------------------------------------------------------------------AttributeErrorTraceback (mostrecentcalllast)
CellIn [19], line1---->1SortingviewWorkspace().insert_manual_curation(manual_curation_key, jot_file_name)
File~/code/spyglass/src/spyglass/spikesorting/v0/sortingview.py:193, inSortingviewWorkspace.insert_manual_curation(self, key, url, description)
176"""Based on information in key for an SortingviewWorkspace, loads the 177 curated sorting from sortingview, saves it (with labels and the 178 optional description) and inserts it to CuratedSorting (...) 187 description of curated sorting 188 """190# get the labels and remove the non-primary merged units191# labels = workspace.get_sorting_curation(sorting_id=sortingview_sorting_id)192# labels = sv.trythis_load_sorting_curation('jot://xTzzyDieQPkW')-->193labels=sv.trythis_load_sorting_curation(url)
195# turn labels to list of str, only including accepted units.196# if bool(labels["mergeGroups"]):197ifbool(labels.get("mergeGroups", [])):
198# clusters were merged, so we empty out metricsAttributeError: module'sortingview'hasnoattribute'trythis_load_sorting_curation'
The text was updated successfully, but these errors were encountered:
Don't think I've changed my environment lately/after pulling new spyglass. I checked and it's 0.13.3, and the latest sorting view 0.13.5 was released last July (before I git pull spyglass) hmmmm
@samuelbray32@edeno@CBroz1 I figured that I don't necessarily need to insert curation to the sortingview workspace, but just need to be able to load the url to get merge groups & unit labels from the manual curation which should be inserted into the Curation table before I can populate the CuratedSpikesorting table. Do you happen to know if we have any function to load the url and get a dictionary of the manual curation related metrics? Thanks!
Describe the bug
This problem started happening after I pulled a recent version of spyglass (in December). After manual curation, when inserting curated results into the tables, it needs to load labels from sort-curations, but spyglass reported "module 'sortingview' has no attribute 'trythis_load_sorting_curation'"
To Reproduce
Steps to reproduce the behavior:
Error Stack
The text was updated successfully, but these errors were encountered: