Skip to content

Conversation

@gcalongi
Copy link
Contributor

I added a couple buttons to allow the user to skip to the next or previous detections mat if that's something you're interested in!

Add buttons to the GUI that will cycle to the Next or Previous detection files.  Also minor tweak to how the currentcall is selected when >>> or <<< is used at the end/beg of file.
Add Prev/Next File buttons to figure file
@DrCoffey
Copy link
Owner

This looks great! My only concern is that it doesn't check if you have saved the current detection file before loading the next one. If you had done a bunch of labeling or box adjusting and accidentally hit the button for the next file you would loose everything. I guess that is the case with the current load calls button too, so I should probably find a fix for everything. I will try to add a check to the load calls/audio buttons to see if the current calls table differs from the loaded detection file. If so it can prompt to save.

Changed 'handles.current_detection_file' variable from just the file name to the full file path
Added function to check if they file was changed and prompt to save when new calls or audio are loaded
Removed unnecessary handles variable in 'savesession_Callback'
Fixed bug where saving the session after loading an audio file would use the previously loaded detection file as the default file name.
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.

3 participants