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

Upper limit conditional for cutout limits check #78

Open
jaymedina opened this issue Mar 10, 2023 · 0 comments
Open

Upper limit conditional for cutout limits check #78

jaymedina opened this issue Mar 10, 2023 · 0 comments

Comments

@jaymedina
Copy link
Collaborator

This might need to be updated to include a conditional involving the upper boundaries (in X and Y) of the FFIs. From what I understand, this is catching for cases where the lower limit of the cutout limits falls below 0 in either axis, but we don't have a conditional for when the upper limit goes beyond 2048 or whatever the FFI image size is:

if ((lims[0, 0] <= 0) and (lims[0, 1] <= 0)) or ((lims[1, 0] <= 0) and (lims[1, 1] <= 0)):

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

No branches or pull requests

1 participant