We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The doctest for the VoronoiModelGrid.save method has become somewhat flaky recently.
VoronoiModelGrid.save
The doctest is the following,
>>> from landlab import VoronoiDelaunayGrid >>> import numpy as np >>> import os >>> x = np.random.rand(20) >>> y = np.random.rand(20) >>> vmg = VoronoiDelaunayGrid(x,y) Traceback (most recent call last): ... ValueError: cannot reindex or align along dimension 'cell' because of conflicting dimension sizes: {20, 21}
Apparently some combination of random x and y coordinates cause the save function to fail.
save
It may make sense to alter to doctest to use non-random coordinates but then add some unit tests that identify and test the underlying issue.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The doctest for the
VoronoiModelGrid.save
method has become somewhat flaky recently.The doctest is the following,
Apparently some combination of random x and y coordinates cause the
save
function to fail.It may make sense to alter to doctest to use non-random coordinates but then add some unit tests that identify and test the underlying issue.
The text was updated successfully, but these errors were encountered: