cidgoh / geem

Genomic Epidemiology Entity Mart
Creative Commons Attribution 4.0 International
3 stars 1 forks source link

Validation grid mappings #62

Closed ivansg44 closed 4 years ago

ivansg44 commented 4 years ago

We need to create mapping objects for each package, that associate ontology grid columns with user grid columns.

ivansg44 commented 4 years ago

@ddooley Can you check out the last commit 89954a3a7fda56fd6c28c7ce129851d514685557? Its my attempt at a framework for dragging columns between grids. If column A from the user grid is dragged to column B from the ontology grid, or vice versa, the code from the last commit will keep track of the id belonging to both columns. This will provide us the with appropriate data needed to create mappings when users drag and drop columns.

However, although I tried to keep it logically clear, the code is a brute-force way of doing things. I struggled to find a simpler way. Care to comment on the acceptability of the code from the last commit 89954a3a7fda56fd6c28c7ce129851d514685557, or suggest another way of doing things?

ddooley commented 4 years ago

Ok, I'll have a look shortly