Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ import cellscape
|
|
11 |
def predict(input_mol, view_str, chains):
|
12 |
# write view to file
|
13 |
with open("view_matrix", "w") as f:
|
14 |
-
f.write(view_str)
|
15 |
|
16 |
chain_str = ""
|
17 |
chain_dict = json.loads(chains)
|
|
|
11 |
def predict(input_mol, view_str, chains):
|
12 |
# write view to file
|
13 |
with open("view_matrix", "w") as f:
|
14 |
+
f.write(view_str[1:-1])
|
15 |
|
16 |
chain_str = ""
|
17 |
chain_dict = json.loads(chains)
|