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

Handle 'nan' type searches to avoid errors #41

Open
mcannon068nw opened this issue Jun 11, 2024 · 1 comment
Open

Handle 'nan' type searches to avoid errors #41

mcannon068nw opened this issue Jun 11, 2024 · 1 comment

Comments

@mcannon068nw
Copy link
Contributor

Was doing a bulk search for a different project using dgipy.get_interactions and encountered a 'nan' in the dataset of type 'float'

This produced the error:

InvalidJSONError: Out of range float values are not JSON compliant

Screenshot 2024-06-11 at 9 01 03 AM

I think ideally a person using this search will have filtered out nan's or None's beforehand, but we should probably have something there to handle it just in case.

@jsstevenson
Copy link
Member

We should double check that this is still possible, we've changed a lot of code since June 11th

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants