Clinical-Genomics-Lund / bonsai

Visualize and analyze resistance and outbreak of bacterial pathogen
https://bonsai-wgs.readthedocs.io/en/latest/
GNU General Public License v3.0
4 stars 1 forks source link

Handle same sample id uploaded multiple times #136

Open LordRust opened 10 months ago

LordRust commented 10 months ago

Could be e.g. for different groups, etc

LordRust commented 10 months ago

When marking a sample, all samples with the same name are also marked.

mhkc commented 10 months ago

This is caused by the database not being properly indexed. If indexed using bonsai_api index mongodb would enforce unique sample ids.