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

Fixed bug adding dimension to XArrayInterface #2761

Merged
merged 2 commits into from
Jun 4, 2018

Conversation

philippjfr
Copy link
Member

@philippjfr philippjfr commented Jun 1, 2018

The XArrayInterface.add_dimension method was assuming that the underlying xarray Dataset dimension ordering would be the same as the dimensions on the hv.Dataset, which does not have to be the case. This PR ensures that the dimensions are declared in the correct order.

@philippjfr philippjfr added type: bug Something isn't correct or isn't working tag: component: data labels Jun 1, 2018
@jlstevens
Copy link
Contributor

Looks good. Happy to merge once the unit tests are ready and passing.

@jlstevens
Copy link
Contributor

Tests are green now. Ready to merge?

@philippjfr
Copy link
Member Author

Yes, go ahead.

@jlstevens jlstevens merged commit 7b28246 into master Jun 4, 2018
@philippjfr philippjfr deleted the xarray_add_dimension_fix branch July 4, 2018 11:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tag: component: data type: bug Something isn't correct or isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants