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

Updated the importer to include the new ACMG expected fields #137

Merged
merged 1 commit into from
Sep 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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