Skip to content
This repository was archived by the owner on Dec 18, 2023. It is now read-only.

Commit ae2ad16

Browse files
authored
Merge pull request #90 from thehyve/test-data-update
Update test data after csr model update
2 parents 5b85d36 + cf31747 commit ae2ad16

File tree

7 files changed

+11
-89
lines changed

7 files changed

+11
-89
lines changed

requirements/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
csr2transmart==0.0.26
1+
csr2transmart==0.0.27
22
docutils==0.14
33
lockfile==0.12.2
44
luigi==2.8.0

test_data/E2E_TEST_DATA/config/ontology_config.json

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -39,19 +39,7 @@
3939
"concept_code": "Individual.ic_withdrawn_date"
4040
},
4141
{
42-
"name": "04. Informed consent material",
43-
"concept_code": "Individual.ic_material"
44-
},
45-
{
46-
"name": "05. Informed consent data",
47-
"concept_code": "Individual.ic_data"
48-
},
49-
{
50-
"name": "06. Informed consent linking external database",
51-
"concept_code": "Individual.ic_linking_ext"
52-
},
53-
{
54-
"name": "07. Report hereditary susceptibility",
42+
"name": "04. Report hereditary susceptibility",
5543
"concept_code": "Individual.report_her_susc"
5644
}
5745
]
@@ -83,7 +71,7 @@
8371
},
8472
{
8573
"name": "05. Center of treatment",
86-
"concept_code": "Diagnosis.center_treatment"
74+
"concept_code": "Diagnosis.diagnosis_center"
8775
}
8876
]
8977
},

test_data/E2E_TEST_DATA/config/sources_config.json

Lines changed: 1 addition & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -74,33 +74,6 @@
7474
}
7575
]
7676
},
77-
{
78-
"name": "ic_material",
79-
"sources": [
80-
{
81-
"file": "individual.tsv",
82-
"column": "ic_material"
83-
}
84-
]
85-
},
86-
{
87-
"name": "ic_data",
88-
"sources": [
89-
{
90-
"file": "individual.tsv",
91-
"column": "ic_data"
92-
}
93-
]
94-
},
95-
{
96-
"name": "ic_linking_ext",
97-
"sources": [
98-
{
99-
"file": "individual.tsv",
100-
"column": "ic_linking_ext"
101-
}
102-
]
103-
},
10477
{
10578
"name": "report_her_susc",
10679
"sources": [
@@ -180,7 +153,7 @@
180153
]
181154
},
182155
{
183-
"name": "center_treatment",
156+
"name": "diagnosis_center",
184157
"sources": [
185158
{
186159
"file": "diagnosis.tsv"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
diagnosis_id individual_id topography treatment_protocol tumor_type tumor_stage diagnosis_date center_treatment
1+
diagnosis_id individual_id topography treatment_protocol tumor_type tumor_stage diagnosis_date diagnosis_center
22
D1 PMCBS000BCA liver chemo neuroblastoma IV 2016-05-01 Center 1
33
D2 PMCBM000BAB kidney surgery nephroblastoma III 2016-07-02 Center 2
44
D3 PMCBM000BAB bone marrow Protocol 1 hepatoblastoma IV 2016-11-03 Center 3
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
individual_id taxonomy birth_date gender death_date ic_type ic_given_date ic_withdrawn_date ic_material ic_data ic_linking_ext report_her_susc report_inc_findings
2-
PMCBS000BCA Human 1993-02-01 f yes 2017-03-01 yes yes NA yes yes
3-
PMCBM000BAB Human 1994-04-03 m yes 2017-05-11 2017-10-14 yes NA not applicable yes yes
1+
individual_id taxonomy birth_date gender death_date ic_type ic_given_date ic_withdrawn_date report_her_susc report_inc_findings
2+
PMCBS000BCA Human 1993-02-01 f yes 2017-03-01 yes yes
3+
PMCBM000BAB Human 1994-04-03 m yes 2017-05-11 2017-10-14 yes yes

test_data/test_logic/config/ontology_config.json

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -39,19 +39,7 @@
3939
"concept_code": "Individual.ic_withdrawn_date"
4040
},
4141
{
42-
"name": "04. Informed consent material",
43-
"concept_code": "Individual.ic_material"
44-
},
45-
{
46-
"name": "05. Informed consent data",
47-
"concept_code": "Individual.ic_data"
48-
},
49-
{
50-
"name": "06. Informed consent linking external database",
51-
"concept_code": "Individual.ic_linking_ext"
52-
},
53-
{
54-
"name": "07. Report hereditary susceptibility",
42+
"name": "04. Report hereditary susceptibility",
5543
"concept_code": "Individual.report_her_susc"
5644
}
5745
]
@@ -83,7 +71,7 @@
8371
},
8472
{
8573
"name": "05. Center of treatment",
86-
"concept_code": "Diagnosis.center_treatment"
74+
"concept_code": "Diagnosis.diagnosis_center"
8775
}
8876
]
8977
},

test_data/test_logic/config/sources_config.json

Lines changed: 1 addition & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -108,33 +108,6 @@
108108
"date_format": "%d/%m/%Y"
109109
}
110110
]
111-
},
112-
{
113-
"name": "ic_material",
114-
"sources": [
115-
{
116-
"file": "studies/PMCST000AAA_individual.txt",
117-
"column": "IFCMAT"
118-
}
119-
]
120-
},
121-
{
122-
"name": "ic_data",
123-
"sources": [
124-
{
125-
"file": "studies/PMCST000AAA_individual.txt",
126-
"column": "IFCGIV"
127-
}
128-
]
129-
},
130-
{
131-
"name": "ic_linking_ext",
132-
"sources": [
133-
{
134-
"file": "studies/PMCST000AAA_individual.txt",
135-
"column": "IFCCOM"
136-
}
137-
]
138111
}
139112
]
140113
},
@@ -196,7 +169,7 @@
196169
]
197170
},
198171
{
199-
"name": "center_treatment",
172+
"name": "diagnosis_center",
200173
"sources": [
201174
{
202175
"file": "studies/PMCST000AAA_diagnosis.txt",

0 commit comments

Comments
 (0)