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

Bug when there's a single map in vector of import config dataset tree for card many child attribute #54

Open
benkamphaus opened this issue Oct 28, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@benkamphaus
Copy link
Contributor

# TODO: Unify should treat an object or an array here equivalently, so we should probably
# modify JSON spec at some point. But on the flip side, there appears to be a bug in
# config parsing when this is an array with one object instead of an isolated object, so
# we should wait to address that. Removed out of PR #53 and into a new issue.
therapies:
unify/input-csv-file: "processed/rizvi-therapies.txt"
treatment-regimen: "regimen"
line: "line"
unify/constants:
order: 1
unify/reverse:
unify/rev-variable: "subject.id"
unify/rev-attr: ":subject/therapies"

In this case, if there's a vector with one map, the Unify keys are not properly handled in the directive and Unify throws when it can't find Unify processing syntax in the file.

@benkamphaus benkamphaus added the bug Something isn't working label Oct 28, 2024
@benkamphaus benkamphaus self-assigned this Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant