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 Python test for subset_data called from command line #2262

Open
samsrabin opened this issue Nov 21, 2023 · 1 comment
Open

Add Python test for subset_data called from command line #2262

samsrabin opened this issue Nov 21, 2023 · 1 comment
Labels
testing additions or changes to tests

Comments

@samsrabin
Copy link
Collaborator

samsrabin commented Nov 21, 2023

In #2081, I added an evenly_split_cropland option to the configuration files used by subset_data, but neglected to add it to the argument parser, meaning that it would fail when run from the command line. This wasn't caught by the Python tests we have set up because there's no test that uses subset_data with command-line arguments instead of a config file.

I wonder: Are there any other Python scripts with this same issue?

@samsrabin samsrabin added the testing additions or changes to tests label Nov 21, 2023
@samsrabin
Copy link
Collaborator Author

Note that @slevis-lmwg fixes the argument parser in #2253.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
testing additions or changes to tests
Projects
None yet
Development

No branches or pull requests

1 participant