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

Fix get_central_frames #31

Merged
merged 1 commit into from
Sep 16, 2024
Merged

Fix get_central_frames #31

merged 1 commit into from
Sep 16, 2024

Conversation

lanery
Copy link
Collaborator

@lanery lanery commented Sep 16, 2024

This PR changes the behavior of stack_processing.crop_central_frames. Prior to this, function would raise a ValueError if more frames than existed in the stack were requested for cropping. Now just gives a warning and returns the whole stack (not cropped).

PR checklist

  • Describe the changes you've made.
  • If you've added new functionality, make sure that the documentation is updated accordingly.

This PR changes the behavior of `stack_processing.crop_central_frames`. Prior to this, function would raise a `ValueError` if more frames than existed in the stack were requested for cropping. Now just gives a warning and returns the whole stack (not cropped).

Signed-off-by: Ryan Lane <[email protected]>
@lanery lanery requested a review from taraeb September 16, 2024 18:35
@taraeb
Copy link

taraeb commented Sep 16, 2024

looks good

@taraeb taraeb merged commit 0eea613 into main Sep 16, 2024
1 check passed
@lanery lanery deleted the rl/patch-crop-central-frames branch September 20, 2024 18:49
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