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

RasterDataset: fix bug when separate_files and no date in regex #1191

Merged
merged 1 commit into from
Mar 29, 2023

Conversation

adamjstewart
Copy link
Collaborator

Fixes a bug introduced by yours truly waaaaay back in #75.

The reason we haven't discovered this bug until now is that it has extremely limited scope. It only affects RasterDatasets where separate_files = True and filename_regex does not contain a date group. This is exactly 0 of our builtin datasets, but is unfortunately exactly what happened to @TolgaAktas in #1182.

Thanks for reporting this @TolgaAktas!

@adamjstewart adamjstewart added this to the 0.4.1 milestone Mar 23, 2023
@github-actions github-actions bot added the datasets Geospatial or benchmark datasets label Mar 23, 2023
@isaaccorley
Copy link
Collaborator

Finally, someone else introduced a bug besides me.

@adamjstewart
Copy link
Collaborator Author

I've introduced far more bugs than you. This bug is rather minor compared to #786.

@adamjstewart adamjstewart merged commit 0dd3d06 into main Mar 29, 2023
@adamjstewart adamjstewart deleted the fixes/raster branch March 29, 2023 01:28
yichiac pushed a commit to yichiac/torchgeo that referenced this pull request Apr 29, 2023
@TolgaAktas
Copy link

Does 0.4.1 fix this issue?

@adamjstewart
Copy link
Collaborator Author

Yes, it should. Let me know if you still encounter this issue.

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

Successfully merging this pull request may close these issues.

3 participants