stochasticribosome
commited on
Commit
•
4afef57
1
Parent(s):
9a3c969
Fix pdb_file bug
Browse files
main.py
CHANGED
@@ -150,7 +150,7 @@ def predict(pdb_code, pdb_file):
|
|
150 |
#pdb = open(path_to_pdb, "r").read()
|
151 |
# switch to misato env if not running from container
|
152 |
|
153 |
-
pdbid = get_pdbid_from_filename(pdb_file)
|
154 |
mdh5_file = "inference_for_md.hdf5"
|
155 |
mappath = "/maps"
|
156 |
mask = "!@H="
|
|
|
150 |
#pdb = open(path_to_pdb, "r").read()
|
151 |
# switch to misato env if not running from container
|
152 |
|
153 |
+
pdbid = get_pdbid_from_filename(pdb_file.name)
|
154 |
mdh5_file = "inference_for_md.hdf5"
|
155 |
mappath = "/maps"
|
156 |
mask = "!@H="
|