stochasticribosome
commited on
Commit
•
eb1f61c
1
Parent(s):
55b453f
Apply fix from upstream protein_adaptability
Browse filesMISATO-dataset/protein_adaptability@d9b199d6168e099b29e550eb2dec64b308737b65
main.py
CHANGED
@@ -97,7 +97,7 @@ def predict(pdb_code, pdb_file):
|
|
97 |
|
98 |
|
99 |
for i in range(adaptability.shape[0]):
|
100 |
-
data.append([i, atom_mapping
|
101 |
|
102 |
topN = 100
|
103 |
topN_ind = np.argsort(adaptability)[::-1][:topN]
|
|
|
97 |
|
98 |
|
99 |
for i in range(adaptability.shape[0]):
|
100 |
+
data.append([i, atom_mapping[atoms_protein.iloc[i, atoms_protein.columns.get_loc("element")] - 1], atoms_protein.iloc[i, atoms_protein.columns.get_loc("x")],atoms_protein.iloc[i, atoms_protein.columns.get_loc("y")],atoms_protein.iloc[i, atoms_protein.columns.get_loc("z")],adaptability[i]])
|
101 |
|
102 |
topN = 100
|
103 |
topN_ind = np.argsort(adaptability)[::-1][:topN]
|