Spaces:
Sleeping
Sleeping
simonduerr
commited on
Commit
•
f00454f
1
Parent(s):
3055c36
Update app.py
Browse files
app.py
CHANGED
@@ -321,7 +321,7 @@ def preprocess_mol(pdb_code="", filepath=""):
|
|
321 |
os.system(f"wget -qnc https://files.rcsb.org/view/{pdb_code}.pdb")
|
322 |
print(os.getcwd())
|
323 |
print(os.listdir())
|
324 |
-
print(os.system(f"
|
325 |
mol = Molecule(f"{pdb_code}.pdb")
|
326 |
tf_original = tempfile.NamedTemporaryFile(delete=False)
|
327 |
mol.write(tf_original.name)
|
|
|
321 |
os.system(f"wget -qnc https://files.rcsb.org/view/{pdb_code}.pdb")
|
322 |
print(os.getcwd())
|
323 |
print(os.listdir())
|
324 |
+
print(os.system(f"head -n20 {pdb_code}.pdb"))
|
325 |
mol = Molecule(f"{pdb_code}.pdb")
|
326 |
tf_original = tempfile.NamedTemporaryFile(delete=False)
|
327 |
mol.write(tf_original.name)
|