-
Notifications
You must be signed in to change notification settings - Fork 43
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
SpikeSortingRecordingSelection attributes #133
Comments
@magland thanks, that's a good point. I think we initially had implemented the lab team system because some people in the lab did not want everyone else to have access to their nwb file, but we certainly do want to encourage sharing. @lfrank what do you think? I can move LabTeam to the primary key if you're OK with it. |
@khl02007 It's seems like it's currently the case that a second team running an otherwise identical key will cause the first run to be deleted: spyglass/src/spyglass/spikesorting/v0/spikesorting_recording.py Lines 319 to 321 in fa1114e
Do we want to fix that by adding team to the folder name? I'm thinking there should be a prompt before deleting another team's folder Ignoring team, there are currently no duplicate keys, so no cause for concern about overwritten files. But does the team influence the outcome? Or is the process deterministic, such that the same parameters will yield the same result? I'm revisiting this table with #917 in mind It team just indicates run ownership, I think we now navigate that better with cautious delete style ownership. I wouldn't propose edits to this table, but just trying to wrap my head around the need discussed here to both tackle recompute and consider for future pipeline development |
@CBroz1 I see, I didn't realize this issue, thanks for catching it. |
That's helpful, thanks. I'll reopen pending a fix of the possibility of the folder overwrite I think this |
I was noticing that LabTeam is not a primary key for SpikeSortingRecordingSelection (see below).
Does that mean that if one lab team does spike sorting with particular sort group, sort interval, and sorting parameters, then another lab team cannot also do that sorting? Seems not right... unless the lab team is associated with the session, in which case it should not be an attribute of this table.
The text was updated successfully, but these errors were encountered: