-
Notifications
You must be signed in to change notification settings - Fork 17
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
data (rd3): fix import and data model issues #4568
Conversation
Quality Gate passedIssues Measures |
This PR addresses the issues listed in molgenis/projects-solve-rd#60 |
@@ -32,6 +33,7 @@ public void run() { | |||
} | |||
List<Row> rows = getProfilesFromAllModels("/portal", List.of()); | |||
getSchema().migrate(Emx2.fromRowList(rows)); | |||
MolgenisIO.fromClasspathDirectory("/_ontologies", getSchema(), false); |
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'm not sure if this is the correct approach for the profiles and other data models. I used the other loaders as a guide.
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.
yes it is.
@@ -32,6 +33,7 @@ public void run() { | |||
} | |||
List<Row> rows = getProfilesFromAllModels("/portal", List.of()); | |||
getSchema().migrate(Emx2.fromRowList(rows)); | |||
MolgenisIO.fromClasspathDirectory("/_ontologies", getSchema(), false); |
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.
yes it is.
(This list is evolving)
What are the main changes you did:
The purpose of this PR is to resolve all importing issues and data model changes to the RD3_v2 model
Organisations
: changed all instances toref
/ref_array
; added generic resource to resolve import errorsconsent document type
import failureassigned gender at birth
csvHow to test
Checklist