Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -137,7 +137,7 @@ def similars_node(state: State) -> State:
|
|
| 137 |
elif state['query_name'] != None:
|
| 138 |
name = state["query_name"]
|
| 139 |
res = pcp.get_compounds(name, "name", searchtype="similarity",listkey_count=20)
|
| 140 |
-
|
| 141 |
else:
|
| 142 |
print('Not enough information to run similars tool')
|
| 143 |
return state
|
|
|
|
| 137 |
elif state['query_name'] != None:
|
| 138 |
name = state["query_name"]
|
| 139 |
res = pcp.get_compounds(name, "name", searchtype="similarity",listkey_count=20)
|
| 140 |
+
props_string = f'The following molecules are similar to {name}: \n'
|
| 141 |
else:
|
| 142 |
print('Not enough information to run similars tool')
|
| 143 |
return state
|