-
Notifications
You must be signed in to change notification settings - Fork 12
Fix test against collect #55
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
Merged
Merged
Changes from all commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
7491906
Finish implementing test_against_collect
johnomotani 896459b
pip-install boutdata for Travis tests
johnomotani d7b5971
Include BOUT_VERSION in create_bout_ds
johnomotani ba95d92
Remove MYPE, PE_XIND and PE_YIND from METADATA_VARS
johnomotani 1c97746
Drop _BOUT_PER_PROC_VARIABLES in test_load
johnomotani 5fdf62b
Fix load._get_limit() for case when number of guard cells is 0
johnomotani d3278e5
Define custom xBOUTWarning
johnomotani 93f6f91
Suppress warning from xarray
johnomotani 740c822
pip-install vtk in .travis.yml, workaround for Python-3.6 install
johnomotani 212f913
PEP8 fixes
johnomotani b970c1a
Merge branch 'toroidal-coordinates-fix' into fix-test-against-collect
johnomotani 807c8e3
Add tests opening 'toroidal' and 's-alpha' geometries
johnomotani f8fa440
Add option to pass grid file
johnomotani 4fad704
Add 'hthe' from grid in s-alpha geometry
johnomotani 181a691
Travis workaround to skip xarray-0.14.0, which breaks the tests
johnomotani 60b9d9a
Fix PEP8 issuses, remove debugging print statements
johnomotani cfc039c
Don't store _grid in dataset attrs
johnomotani 7ae0f18
Test saving BoutDataset with geometry
johnomotani 3fc4f02
Do not save hthe in dataset for s-alpha geometry
johnomotani 75f3072
Remove workaround for mayavi dependency of boutdata
johnomotani 7c05112
Remove workaround for mayavi dependency of boutdata
johnomotani 4902a74
Travis workaround to skip xarray-0.14.0, which breaks the tests
johnomotani 4a86947
Revert addition of xBOUTWarning
johnomotani 5047941
Merge pull request #58 from boutproject/test-geometries
johnomotani bf9de54
Don't try to store grid dataset after reading coordinates
johnomotani 9922188
Remove skipped grid_merge test
johnomotani d7f8163
Fix passing MXG to _open_grid
johnomotani c099242
Merge branch 'master' into fix-test-against-collect
johnomotani 0583eac
Docstring for 'grid' argument to applyGeometry
johnomotani dcda0d3
Skip test_against_collect if boutdata.collect is not available
johnomotani 5370f7d
Fix PEP8 issues
johnomotani File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| [pytest] | ||
| filterwarnings = | ||
| ignore:No geometry type found, no coordinates will be added:UserWarning | ||
| ignore:deallocating CachingFileManager.*, but file is not already closed. This may indicate a bug\.:RuntimeWarning | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 should actually fix whatever is causing this warning...
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.
I agree in principle, but this warning also seems to be thrown in
xarray's test suite (pydata/xarray#3266), so I guess it's anxarrayissue. The warnings seem to be thrown during garbage-collection (I think I saw a comment somewhere that it might be related to some sort of reference-cycle, but I forget where now), and I didn't want to go chasing into the guts ofxarray.