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

In fiber picking, append empty array for no spots #1200

Merged
merged 1 commit into from
Apr 27, 2022

Conversation

psavery
Copy link
Collaborator

@psavery psavery commented Apr 27, 2022

If no spots were found, append np.empty((0,)) instead of None so
that we can just check the size of the array elsewhere, and not have
to check for None also.

If no spots were found, append `np.empty((0,))` instead of `None` so
that we can just check the size of the array elsewhere, and not have
to check for `None` also.

Signed-off-by: Patrick Avery <[email protected]>
@joelvbernier joelvbernier self-requested a review April 27, 2022 16:12
@joelvbernier joelvbernier merged commit 37324aa into HEXRD:master Apr 27, 2022
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