-
Notifications
You must be signed in to change notification settings - Fork 5
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
Failed test fixes #45
Conversation
def test_process(self): | ||
raster = utils.polygons_to_raster(self.testfile, "GeoID", **self.kwargs) | ||
raster = utils.polygons_to_raster(self.testfile, "GeoID") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looses the cellsize
argument that is needed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right, instead the function defaults to a cellsize of 4. I'll see if there's another way to get around the error it was throwing.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to find one. The point of the tests is to check different cell sizes. This throws 3 failures for me,
…olygons_to_raster_mixin.test_process so cellsize is passed properly (closes #44); stripped parameter names off tidegates.flood_area call in StandardScenarios.analyze because they were causing inexplicable TypeError (mentioned in #37); fixed Extension class not checking extension back in when finishing.
…narios.analyze because the problem seems to have been resolved.
fixed Extension context manager, skip more tests
Addresses some issues raised in #18.