biocore / labadmin

Administration website for the Knight Lab
4 stars 16 forks source link

create_barcodes(0) stalls #105

Open sjanssen2 opened 7 years ago

sjanssen2 commented 7 years ago

It seems like create_barcodes(0) in knimin/lib/data_access.py stalls. The webside does not allow 0 as value, but I think we should handle this as an exception in the function as well.

wasade commented 7 years ago

Good catch, that is an edge case which should be handled gracefully