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

Add progress bar for binned RITS export #2033

Merged
merged 2 commits into from
Feb 6, 2024
Merged

Conversation

samtygier-stfc
Copy link
Collaborator

@samtygier-stfc samtygier-stfc commented Feb 6, 2024

Issue

Closes #2028

Description

Call save_rits_images() with an async task so that it runs in a separate thread with a progress bar.

Testing & Acceptance Criteria

Test a 2D binned export with a large enough area to take at least a few seconds.
Check that the progress bar is displayed
Check that an error is handled with a message to the user, e.g. delete the export folder during export.

Documentation

Not needed

@coveralls
Copy link

coveralls commented Feb 6, 2024

Coverage Status

coverage: 75.413% (-0.02%) from 75.432%
when pulling ab8a7a4 on 2028_rits_progress
into ac0a921 on main.

@samtygier-stfc samtygier-stfc marked this pull request as ready for review February 6, 2024 13:38
@JackEAllen JackEAllen self-requested a review February 6, 2024 13:46
Copy link
Collaborator

@JackEAllen JackEAllen left a comment

Choose a reason for hiding this comment

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

Thanks for quickly adding this in. Looks good so happy to approve 👍
image

@JackEAllen JackEAllen added this pull request to the merge queue Feb 6, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 6, 2024
@samtygier-stfc samtygier-stfc added this pull request to the merge queue Feb 6, 2024
Merged via the queue into main with commit 6668371 Feb 6, 2024
8 checks passed
@samtygier-stfc samtygier-stfc deleted the 2028_rits_progress branch February 6, 2024 17:12
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.

Progress bar for RITS export
3 participants