After Deleting an entry, the animal ID now correlates to the correct number of entries. Before, if you deleted item number four, the next entry would be item five. Now it would display the next entry correctly as item number four.
I changed the map_rfid page to correlate to the animal_id.
It was changed because the prior delete method was not doing its job. If you had deleted an item for an experiment with 12 animals, it would only allow you to have 11 animals in the experiment. As the program added when the next number after deletion would read that the max number of animals was reached.
Added a method to find the correct value of the animal_id after removal.
Fixes #124
After Deleting an entry, the animal ID now correlates to the correct number of entries. Before, if you deleted item number four, the next entry would be item five. Now it would display the next entry correctly as item number four.
I changed the map_rfid page to correlate to the animal_id.
It was changed because the prior delete method was not doing its job. If you had deleted an item for an experiment with 12 animals, it would only allow you to have 11 animals in the experiment. As the program added when the next number after deletion would read that the max number of animals was reached.
Added a method to find the correct value of the animal_id after removal.