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

35 - Don't create empty files if there are 0 features #39

Merged
merged 2 commits into from
Oct 11, 2023

Conversation

darrenwiens
Copy link
Contributor

Resolves #35

This PR makes it so a result file is not created if the query returns zero features.

I assumed if the verbose option was used, it should print the elapsed time (broke out into new function).

@cholmes
Copy link
Collaborator

cholmes commented Oct 11, 2023

Love it - thank you! Code looks good, I'll find some time soon to try it out to make sure it all works (since I've got no tests yet).

@cholmes cholmes merged commit 813fe23 into opengeos:main Oct 11, 2023
7 checks passed
@cholmes
Copy link
Collaborator

cholmes commented Oct 11, 2023

Worked great it my testing. Added a little note for users who supplied the country_iso, as I believe a common mistake is to not put in the right iso code, and you'd get 0 features.

@darrenwiens darrenwiens deleted the 35-dont-create-empty-files branch October 11, 2023 15:46
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.

Don't create empty files if there are 0 features
2 participants