Skip to content

NABat Export Annotations#173

Merged
BryonLewis merged 9 commits intomainfrom
export-nabat-task
Jun 24, 2025
Merged

NABat Export Annotations#173
BryonLewis merged 9 commits intomainfrom
export-nabat-task

Conversation

@BryonLewis
Copy link
Collaborator

@BryonLewis BryonLewis commented May 19, 2025

resolves #161
resolves #74

Creates some exporting functionality for annotation

  • Ability to export NABat Annotations
  • Created ExportedAnnotationFile as a new model that is created when exporting data. The idea is that in the future we can use this file for BatAI exporting as well.
  • New /export-annotation routes to get the files or the status of an export-task.
  • Process is that a filter is provided for exporting, a celery task is created that generates a JSON file and a CSV file of the exported annotations and places them inside of an ExportAnnotationFile Model
  • The filter is designed that in the future you can export multiple NABat Recordings at once instead of the current way of doing it one at a time.
  • The ExportAnnotationFile and some of the code for exporting is meant to be re-used when we implement this for the base BatsAI version as well.
  • The main way to interact with this is to load sample data for NABat and then inside of the NABat interface, look at recordings and click on the export button.

@BryonLewis BryonLewis requested a review from naglepuff June 9, 2025 17:49
@BryonLewis BryonLewis marked this pull request as ready for review June 17, 2025 18:30
@naglepuff naglepuff self-requested a review June 24, 2025 20:35
@BryonLewis BryonLewis merged commit 4377118 into main Jun 24, 2025
6 checks passed
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.

Enable exporting of file level annotations Download/Export of files

2 participants