Spaces:
Sleeping
Sleeping
Update inference_app.py
Browse files- inference_app.py +1 -1
inference_app.py
CHANGED
@@ -117,7 +117,7 @@ def run_docking(protein, ligand):
|
|
117 |
gnina_order = poses.sort_values("CNNscore", ascending=False).reset_index(drop=True)
|
118 |
PandasTools.WriteSDF(
|
119 |
gnina_order,
|
120 |
-
|
121 |
properties=list(poses.columns),
|
122 |
)
|
123 |
return poses["CNNscore"]
|
|
|
117 |
gnina_order = poses.sort_values("CNNscore", ascending=False).reset_index(drop=True)
|
118 |
PandasTools.WriteSDF(
|
119 |
gnina_order,
|
120 |
+
ligand.replace(".sdf","_multiple_confs_poses.sdf"),
|
121 |
properties=list(poses.columns),
|
122 |
)
|
123 |
return poses["CNNscore"]
|