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

Failed test fixes #45

Merged
merged 4 commits into from
Nov 17, 2015
Merged

Failed test fixes #45

merged 4 commits into from
Nov 17, 2015

Conversation

HEdingfield
Copy link
Contributor

Addresses some issues raised in #18.

def test_process(self):
raster = utils.polygons_to_raster(self.testfile, "GeoID", **self.kwargs)
raster = utils.polygons_to_raster(self.testfile, "GeoID")
Copy link
Contributor

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.

Copy link
Contributor Author

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.

Copy link
Contributor

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.
phobson added a commit that referenced this pull request Nov 17, 2015
fixed Extension context manager, skip more tests
@phobson phobson merged commit 3563fb0 into Geosyntec:master Nov 17, 2015
@HEdingfield HEdingfield deleted the failed-test-fixes branch November 19, 2015 17:51
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