Skip to content

Commit

Permalink
Updated the importer to include the new ACMG expected fields along wi…
Browse files Browse the repository at this point in the history
…th Decision that was missed (#137)
  • Loading branch information
SeriousHorncat authored Sep 13, 2023
1 parent 214eca2 commit 1d9e35b
Show file tree
Hide file tree
Showing 2 changed files with 90 additions and 1 deletion.
4 changes: 4 additions & 0 deletions backend/src/core/phenotips_importer.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,10 @@ def import_analysis_data(self, phenotips_json_data, phenotips_variants, phenotip
{"type": "section-text", "field": 'Nominator', "value": []},
{"type": "section-text", "field": 'Participant', "value": []},
{"type": "section-text", "field": 'Phenotype', "value": []},
{"type": "section-text", "field": 'ACMG Classification', "value": []},
{"type": "section-text", "field": 'ACMG Classification Criteria', "value": []},
{"type": "section-text", "field": 'ACMG Criteria To Add', "value": []},
{"type": "section-text", "field": 'Decision', "value": []},
]
}, {
"header": 'Clinical History', "content": [
Expand Down
87 changes: 86 additions & 1 deletion etc/fixtures/initial-seed/analyses.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,21 @@
"field": "Phenotype",
"value": []
},
{
"type": "section-text",
"field": "ACMG Classification",
"value": []
},
{
"type": "section-text",
"field": "ACMG Classification Criteria",
"value": []
},
{
"type": "section-text",
"field": "ACMG Criteria To Add",
"value": []
},
{
"type": "section-text",
"field": "Decision",
Expand Down Expand Up @@ -275,6 +290,21 @@
"field": "Phenotype",
"value": []
},
{
"type": "section-text",
"field": "ACMG Classification",
"value": []
},
{
"type": "section-text",
"field": "ACMG Classification Criteria",
"value": []
},
{
"type": "section-text",
"field": "ACMG Criteria To Add",
"value": []
},
{
"type": "section-text",
"field": "Decision",
Expand Down Expand Up @@ -487,6 +517,21 @@
"field": "Phenotype",
"value": []
},
{
"type": "section-text",
"field": "ACMG Classification",
"value": []
},
{
"type": "section-text",
"field": "ACMG Classification Criteria",
"value": []
},
{
"type": "section-text",
"field": "ACMG Criteria To Add",
"value": []
},
{
"type": "section-text",
"field": "Decision",
Expand Down Expand Up @@ -711,6 +756,21 @@
"field": "Phenotype",
"value": ["Postural instability, delayed gross motor development, generalized hypotonia, generalized hypotonia due to defect at the neuromuscular junction, motor delay, abnormality of the dentate nucleus, abnormality of the periventricular white matter, poor motor coordination, and congenital nystagmus "]
},
{
"type": "section-text",
"field": "ACMG Classification",
"value": []
},
{
"type": "section-text",
"field": "ACMG Classification Criteria",
"value": []
},
{
"type": "section-text",
"field": "ACMG Criteria To Add",
"value": []
},
{
"type": "section-text",
"field": "Decision",
Expand Down Expand Up @@ -910,6 +970,21 @@
"field": "Phenotype",
"value": []
},
{
"type": "section-text",
"field": "ACMG Classification",
"value": []
},
{
"type": "section-text",
"field": "ACMG Classification Criteria",
"value": []
},
{
"type": "section-text",
"field": "ACMG Criteria To Add",
"value": []
},
{
"type": "section-text",
"field": "Decision",
Expand Down Expand Up @@ -1168,7 +1243,17 @@
},
{
"type": "section-text",
"field": "Decision",
"field": "ACMG Classification",
"value": []
},
{
"type": "section-text",
"field": "ACMG Classification Criteria",
"value": []
},
{
"type": "section-text",
"field": "ACMG Criteria To Add",
"value": []
},
{
Expand Down

0 comments on commit 1d9e35b

Please sign in to comment.