You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yesterday Q2 was working, now Q1 is not working. Maybe attempted fix for Q1 broke Q2?
python3 Q2Solution.py -r 'DOID:1686' -d 'physostigmine'
Traceback (most recent call last):
File "Q2Solution.py", line 187, in
main()
File "Q2Solution.py", line 184, in main
res = answerQ2(drug, disease, k)
File "Q2Solution.py", line 70, in answerQ2
RU.weight_graph_with_google_distance(g)
File "/mnt/data/orangeboard/test/RTX/code/reasoningtool/QuestionAnswering/ReasoningUtilities.py", line 693, in weight_graph_with_google_distance
gd_temp = QueryNCBIeUtils.normalized_google_distance(source_mesh_term, target_mesh_term, mesh1=mesh1, mesh2=mesh2)
File "/mnt/data/orangeboard/test/RTX/code/reasoningtool/QueryNCBIeUtils.py", line 232, in normalized_google_distance
nij = QueryNCBIeUtils.get_pubmed_hits_count('({mesh1}) AND ({mesh2})'.format(mesh1=mesh1_str_decorated,
UnboundLocalError: local variable 'mesh1_str_decorated' referenced before assignment
The text was updated successfully, but these errors were encountered:
Yesterday Q2 was working, now Q1 is not working. Maybe attempted fix for Q1 broke Q2?
python3 Q2Solution.py -r 'DOID:1686' -d 'physostigmine'
Traceback (most recent call last):
File "Q2Solution.py", line 187, in
main()
File "Q2Solution.py", line 184, in main
res = answerQ2(drug, disease, k)
File "Q2Solution.py", line 70, in answerQ2
RU.weight_graph_with_google_distance(g)
File "/mnt/data/orangeboard/test/RTX/code/reasoningtool/QuestionAnswering/ReasoningUtilities.py", line 693, in weight_graph_with_google_distance
gd_temp = QueryNCBIeUtils.normalized_google_distance(source_mesh_term, target_mesh_term, mesh1=mesh1, mesh2=mesh2)
File "/mnt/data/orangeboard/test/RTX/code/reasoningtool/QueryNCBIeUtils.py", line 232, in normalized_google_distance
nij = QueryNCBIeUtils.get_pubmed_hits_count('({mesh1}) AND ({mesh2})'.format(mesh1=mesh1_str_decorated,
UnboundLocalError: local variable 'mesh1_str_decorated' referenced before assignment
The text was updated successfully, but these errors were encountered: