File tree Expand file tree Collapse file tree 1 file changed +4
-10
lines changed
Expand file tree Collapse file tree 1 file changed +4
-10
lines changed Original file line number Diff line number Diff line change @@ -173,11 +173,8 @@ def test_bulk_lookup():
173173 assert results ['beta-secretase' ][0 ]['label' ] == 'BACE1 inhibitor'
174174 assert len (results ['Parkinson' ]) == 34
175175
176- # TODO: this should be MONDO:0005180 "Parkinson disease", but
177- # instead we get MONDO:0000828 "juvenile-onset Parkinson's disease"
178- # as the top result.
179- assert results ['Parkinson' ][0 ]['curie' ] == 'MONDO:0000828'
180- assert results ['Parkinson' ][0 ]['label' ] == "juvenile-onset Parkinson disease"
176+ assert results ['Parkinson' ][0 ]['curie' ] == 'MONDO:0005180'
177+ assert results ['Parkinson' ][0 ]['label' ] == "Parkinson disease"
181178
182179 # Try it again with the biolink_types set.
183180 params ['biolink_types' ] = ['biolink:Disease' ]
@@ -189,12 +186,9 @@ def test_bulk_lookup():
189186 assert results ['beta-secretase' ][0 ]['curie' ] == 'MONDO:0011561'
190187 assert results ['beta-secretase' ][0 ]['label' ] == 'Alzheimer disease 6'
191188
192- # TODO: this should be MONDO:0005180 "Parkinson disease", but
193- # instead we get MONDO:0000828 "juvenile-onset Parkinson disease"
194- # as the top result.
195189 assert len (results ['Parkinson' ]) == 33
196- assert results ['Parkinson' ][0 ]['curie' ] == 'MONDO:0000828 '
197- assert results ['Parkinson' ][0 ]['label' ] == "juvenile-onset Parkinson disease"
190+ assert results ['Parkinson' ][0 ]['curie' ] == 'MONDO:0005180 '
191+ assert results ['Parkinson' ][0 ]['label' ] == "Parkinson disease"
198192
199193
200194def test_synonyms ():
You can’t perform that action at this time.
0 commit comments