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

More flexible dataset matching based on attributes #187

Merged
merged 2 commits into from
Aug 2, 2021

Conversation

jbusecke
Copy link
Owner

@jbusecke jbusecke commented Aug 2, 2021

I recently ran into problems when applying 'nested' postprocessing functions, e.g. merging variables after concatenating members. This happened because the merging step will drop the attr variable_id, which the concat wrapper was still expecting.
This PR implements an additional step in the general combine_datasets function, which checks if a given match_attr is missing in all datasets, in which case I assume it has been dropped previously and will not use it for the matching.

@jbusecke jbusecke merged commit 528fcbe into master Aug 2, 2021
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.

1 participant