Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -22,7 +22,7 @@ def predict(input_mol, style, view_str, chains):
|
|
22 |
if style == "Goodsell3D":
|
23 |
os.system(f"cellscape cartoon --pdb {input_mol.name} --outline residue --color_by chain --depth_shading --depth_lines --colors {chain_str} --depth flat --back_outline --view view_matrix --save outline_all.svg")
|
24 |
elif style == "Contour":
|
25 |
-
os.system(f"cellscape cartoon --pdb {input_mol.name} --outline residue --color_by chain --depth_contour_interval
|
26 |
else:
|
27 |
os.system(f"cellscape cartoon --pdb {input_mol.name} --outline chain --colors {chain_str} --depth flat --back_outline --view view_matrix --save outline_all.svg")
|
28 |
|
|
|
22 |
if style == "Goodsell3D":
|
23 |
os.system(f"cellscape cartoon --pdb {input_mol.name} --outline residue --color_by chain --depth_shading --depth_lines --colors {chain_str} --depth flat --back_outline --view view_matrix --save outline_all.svg")
|
24 |
elif style == "Contour":
|
25 |
+
os.system(f"cellscape cartoon --pdb {input_mol.name} --outline residue --color_by chain --depth_contour_interval 20 --colors {chain_str} --depth contours --back_outline --view view_matrix --save outline_all.svg")
|
26 |
else:
|
27 |
os.system(f"cellscape cartoon --pdb {input_mol.name} --outline chain --colors {chain_str} --depth flat --back_outline --view view_matrix --save outline_all.svg")
|
28 |
|