Spaces:
Running
on
L4
Running
on
L4
simonduerr
commited on
Commit
•
4064992
1
Parent(s):
9d2e7c6
Update app.py
Browse files
app.py
CHANGED
@@ -72,7 +72,8 @@ def predict(jobname, inputs, recycling_steps, sampling_steps, diffusion_samples)
|
|
72 |
representations.append({"model":0, "chain":chain["chain"], "style":"cartoon"})
|
73 |
if entity_type == "ligand":
|
74 |
if "sdf" in chain.keys():
|
75 |
-
|
|
|
76 |
if "name" in chain.keys():
|
77 |
sequence_data[entity_type]["ccd"] = chain["name"]
|
78 |
if "smiles" in chain.keys():
|
|
|
72 |
representations.append({"model":0, "chain":chain["chain"], "style":"cartoon"})
|
73 |
if entity_type == "ligand":
|
74 |
if "sdf" in chain.keys():
|
75 |
+
if chain["sdf"]!="":
|
76 |
+
raise gr.Error("Sorry no SDF support yet")
|
77 |
if "name" in chain.keys():
|
78 |
sequence_data[entity_type]["ccd"] = chain["name"]
|
79 |
if "smiles" in chain.keys():
|