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

Issue 36 bugfix #74

Merged
merged 2 commits into from
Oct 10, 2024
Merged

Issue 36 bugfix #74

merged 2 commits into from
Oct 10, 2024

Conversation

eigenbeam
Copy link
Contributor

Fixes problems with -n values that are negative, zero, or larger than the number of granules found.

@eigenbeam
Copy link
Contributor Author

I changed the granule_paths function to return a list of tuples instead of a dict. That just makes it easier to slice the first 'n' granules to process.

@eigenbeam
Copy link
Contributor Author

Also, I think I need to do a little refactoring in order to be able to easily write tests for things like the -n option. But I wanted to fix this bug and then add a ticket to do that work (later).

@eigenbeam eigenbeam merged commit 8a838f3 into main Oct 10, 2024
1 check passed
@eigenbeam eigenbeam deleted the issue-36-bugfix branch October 10, 2024 21:09
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.

2 participants