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 ability to suppress errors for get domain function #6

Open
srcrowl opened this issue Apr 6, 2023 · 0 comments
Open

Add ability to suppress errors for get domain function #6

srcrowl opened this issue Apr 6, 2023 · 0 comments

Comments

@srcrowl
Copy link

srcrowl commented Apr 6, 2023

For the get domain function, it currently prints "ERROR: domain did not match format..." when the get domain fails. However, this is not always desired, particularly when looping through a list of accession IDs. I would prefer there to be an option to suppress the output of these errors, and instead simply return -1 or NaN when an error occurs.

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