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 raster_shape param to rasterize pipeline #89

Merged
merged 2 commits into from Aug 22, 2022

Conversation

zigaLuksic
Copy link
Collaborator

Exposes another parameter of the rasterization task.

I also noticed a common pattern of validators, which i managed to extract into ensure_exactly_one_defined function. It was tested locally.

@zigaLuksic zigaLuksic requested a review from veseln August 22, 2022 12:59
@veseln
Copy link

veseln commented Aug 22, 2022

I think it wouldn't hurt if you also added a test for the new validator. I am of the opinion that the util functions that have the potential to be used all over the place should probably be the most foolproof and tested. Other than that, it looks good.

@zigaLuksic
Copy link
Collaborator Author

I think it wouldn't hurt if you also added a test for the new validator. I am of the opinion that the util functions that have the potential to be used all over the place should probably be the most foolproof and tested. Other than that, it looks good.

You are right and i was thinking of it. I'll make something happen.

@zigaLuksic
Copy link
Collaborator Author

On second thought, i'll add tests in another MR, which will be dedicated to adding tests for all validator utilities we use.

@veseln
Copy link

veseln commented Aug 22, 2022

In that case, this can be merged.

@zigaLuksic zigaLuksic merged commit ecb87e5 into develop Aug 22, 2022
@zigaLuksic zigaLuksic deleted the feat/add-raster-shape-param branch August 22, 2022 13:49
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.

None yet

2 participants