De-duplicate electrode IDS
- Dominant language
- Python
- Stars
- 5
- Forks
- 6
- Avg merge
- 4h 6m
- Merged PRs (30d)
- 1
Description
I don't think it is possible any more in HDMF, but at one point you could make an electrode table with duplicate electrode IDs
Source example: https://neurosift.app/nwb?url=https://api.dandiarchive.org/api/assets/38a938ad-c892-482c-85de-a95699a3b524/download/&dandisetId=000638&dandisetVersion=draft&tab=/general/extracellular_ephys/electrodes
Caused the following BIDS invalidation
```
[ERROR] TSV_INDEX_VALUE_NOT_UNIQUE An index column(s) was specified for the tsv file and not all of the values for it are unique.
/sub-TS112-0/ses-TS112-0/ecephys/sub-TS112-0_ses-TS112-0_electrodes.tsv - Row: 66, Value: e001
/sub-TS112-0/ses-TS112-0/ecephys/sub-TS112-0_ses-TS112-0_electrodes.tsv - Row: 67, Value: e002
3582 more files with the same issue
Please visit https://neurostars.org/search?q=TSV_INDEX_VALUE_NOT_UNIQUE for existing conversations about this issue.
Summary: Available Tasks: Available Modalities:
33 Files, 174 kB microephys
4 - Subjects 4 - Sessions
```
While this is an 'actual issue' with the source data, `nwb2bids` still ought to be able to automatically de-duplicate these IDs
Contributor guide
Assessment
This issue has not been assessed yet.