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 some error checking to inputs to xyxymatch #16

Open
jdavies-st opened this issue Jun 11, 2021 · 0 comments
Open

Add some error checking to inputs to xyxymatch #16

jdavies-st opened this issue Jun 11, 2021 · 0 comments

Comments

@jdavies-st
Copy link
Contributor

The python wrapper script for xyxymatch

def xyxymatch(input,

just passes along the inputs to the C code. If they are the wrong numpy shape or numpy type, one gets a segfault. It would be nice to add some guard rails to this, i.e. verify the 2 required input numpy shapes are correct.

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