Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add fileSize to asset downloads #1570

Merged
merged 6 commits into from
Feb 4, 2025
Merged

Conversation

kaloster
Copy link
Contributor

@kaloster kaloster commented Jan 31, 2025

Relates to: #1555

Added fileSize to:

  • Dataset modal
  • Tomogram modal - zarr, mrc and All Annotations
  • Single annotation download

Cleanup from previous file size function

aggregate: [
{
sum: {
fileSize: v1.annotation_files_aggregate_for_total.aggregate?.count,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is here to satiate type-check, but doesn't really exist in V1 - let me know if there's a better way of doing it!

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could also just delete the field, like above where I delete a bunch of fields that aren't in V1!

@kaloster kaloster merged commit 0af74ea into main Feb 4, 2025
15 checks passed
@kaloster kaloster deleted the kaloster/add-file-size branch February 4, 2025 18:22
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.

2 participants