jlab-sensing / ENTS-backend

ENTS backend is a project to visualize data collected from a network of environmental sensors.
https://dirtviz.jlab.ucsc.edu/
MIT License
4 stars 8 forks source link

Adding new cells with duplicate names #313

Open aleclevy opened 3 months ago

aleclevy commented 3 months ago

There is currently no error message that displays when a cell is added that has the same name as another cell (it just throws an error and crashes afair). To fix this, there is a good template to follow on line 20 of device.py in the adding-api-keys branch. This should just return an error saying that a device with that name already exists.