Skip to content

Conversation

moshernoah
Copy link
Collaborator

@moshernoah moshernoah commented May 8, 2025

Fixes #308

What was changed?

A Sacrifice button has been added to the Data Collection screen, that (should) work with threading. In addition, exiting the Group Config Screen after using AutoSort now correctly removes data from the Data Collection screen if it was used in AutoSort. Lastly, I believe I have fixed the changemeasurementdialogue to ensure that double clicking does not break

Why was it changed?

The button was added to meet client needs of being able to sacrifice live while scanning mice. The screen data fix was implemented as for researchers to correctly use the app, the updated Data Collection screen is a necessity.

The changes to ChangeMeasurementDialogue should make it such that it will not open another instance if one is open, removing the crashing issue from double clicking an animal on the screen.

How was it changed?

The same sacrifice_selected function from within map_rifd has been imported over, with changes so that it will stop threads if they are running, confirm the user wishes to remove the animal, and if yes then remove it. After a selection either way, yes or no, the program restarts the RFID reader if threads were running when it stopped them.

image

@moshernoah moshernoah requested a review from jackbelyeu May 8, 2025 18:46
@moshernoah moshernoah changed the title Sacrifice and GC Fix Sacrifice and GC Fix and Maybe Double Click Fix(?) May 8, 2025
@kungfuchicken
Copy link
Contributor

@moshernoah @jackbelyeu looks like a valuable add. Are you still working this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Sacrifice functionality to data collection

2 participants