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

Allow None in keys for partial dimension overlap #830

Merged
merged 2 commits into from
Mar 6, 2017

Conversation

philippjfr
Copy link
Member

We allow dimensions with partial overlaps in their dimensions to be displayed together. The code will internally pad any dimension keys that need it with Nones so that the overall object has a consistent set of keys that it can be indexed by. However since NdMappings check that all dimension values must be in the list of Dimension.values the None padding will raise issues. This PR means that None is always allowed as a dimension value.

@philippjfr
Copy link
Member Author

Ready to merge, if you agree with the fix.

@jlstevens
Copy link
Contributor

Although this PR can't be merged right now due to conflicts, I'm happy to discuss this proposal again now that None values have be enabled in DynamicMap keys for handling dimensioned stream values. As the plotting code has also been updated to handle dimensioned streams, I think it will be easier to see if we want to allow None values in this case...

@jlstevens jlstevens added this to the v1.7.0 milestone Oct 16, 2016
@philippjfr
Copy link
Member Author

Let's merge this. It changes nothing but validation code so I don't think there's anything else to worry about.

@jlstevens
Copy link
Contributor

Ok, I think we should be ok with None values now. Merging.

@jlstevens jlstevens merged commit 277adc5 into master Mar 6, 2017
@philippjfr philippjfr deleted the dynamic_partial_values branch April 11, 2017 12:30
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