File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ def test_d_labitems_itemid_for_bg(dataset, project_id):
1616 50810 : "Hematocrit, Calculated" ,
1717 50811 : "Hemoglobin" ,
1818 50813 : "Lactate" ,
19- 52025 : "Lithium" ,
19+ 52030 : "Lithium" ,
2020 50814 : "Methemoglobin" ,
2121 50815 : "O2 Flow" ,
2222 50816 : "Oxygen" ,
@@ -29,7 +29,7 @@ def test_d_labitems_itemid_for_bg(dataset, project_id):
2929 50823 : "Required O2" ,
3030 50824 : "Sodium, Whole Blood" ,
3131 50825 : "Temperature" ,
32- 52028 : "Specimen Type"
32+ 52033 : "Specimen Type"
3333 }
3434
3535 query = f"""
@@ -44,7 +44,7 @@ def test_d_labitems_itemid_for_bg(dataset, project_id):
4444 observed = df .set_index ('itemid' )['label' ].to_dict ()
4545
4646 for itemid , label in known_itemid .items ():
47- assert observed [itemid ] == label , 'mismatch in lab itemid/concept'
47+ assert observed [itemid ] == label , f 'mismatch in lab itemid/concept for { itemid } '
4848
4949
5050def test_common_bg_exist (dataset , project_id ):
@@ -53,7 +53,6 @@ def test_common_bg_exist(dataset, project_id):
5353 SELECT
5454 COUNT(*) AS n
5555 , COUNT(specimen) AS specimen
56- , COUNT(specimen_prob) AS specimen_prob
5756 , COUNT(po2) AS po2
5857 , COUNT(pco2) AS pco2
5958 , COUNT(ph) AS ph
You can’t perform that action at this time.
0 commit comments