Update app.py
Browse files
app.py
CHANGED
|
@@ -158,14 +158,14 @@ docking_tool: uses dockstring to dock the molecule into the protein, producing a
|
|
| 158 |
print(tool_choices)
|
| 159 |
|
| 160 |
if len(tool_choices) == 1:
|
| 161 |
-
tool1 = tool_choices[0].strip()
|
| 162 |
if tool1.lower() == 'none':
|
| 163 |
tool_choice = (None, None)
|
| 164 |
else:
|
| 165 |
tool_choice = (tool1, None)
|
| 166 |
elif len(tool_choices) == 2:
|
| 167 |
-
tool1 = tool_choices[0].strip()
|
| 168 |
-
tool2 = tool_choices[1].strip()
|
| 169 |
if tool1.lower() == 'none' and tool2.lower() == 'none':
|
| 170 |
tool_choice = (None, None)
|
| 171 |
elif tool1.lower() == 'none' and tool2.lower() != 'none':
|
|
|
|
| 158 |
print(tool_choices)
|
| 159 |
|
| 160 |
if len(tool_choices) == 1:
|
| 161 |
+
tool1 = tool_choices[0].strip().lower()
|
| 162 |
if tool1.lower() == 'none':
|
| 163 |
tool_choice = (None, None)
|
| 164 |
else:
|
| 165 |
tool_choice = (tool1, None)
|
| 166 |
elif len(tool_choices) == 2:
|
| 167 |
+
tool1 = tool_choices[0].strip().lower()
|
| 168 |
+
tool2 = tool_choices[1].strip().lower()
|
| 169 |
if tool1.lower() == 'none' and tool2.lower() == 'none':
|
| 170 |
tool_choice = (None, None)
|
| 171 |
elif tool1.lower() == 'none' and tool2.lower() != 'none':
|