Spaces:
Sleeping
Sleeping
Commit
·
39e9f6d
1
Parent(s):
debc743
Update code/pdb_featureVector.py
Browse files
code/pdb_featureVector.py
CHANGED
|
@@ -320,9 +320,13 @@ def pdb(input_set, mode, impute):
|
|
| 320 |
interface_dataframe = interface_dataframe.append(k, ignore_index=True)
|
| 321 |
|
| 322 |
interface_dataframe.columns = ['uniprotID', 'positions']
|
|
|
|
| 323 |
data = finalTouch(allData)
|
|
|
|
|
|
|
| 324 |
data = data.merge(interface_dataframe, on='uniprotID', how='left')
|
| 325 |
data.positions = data.positions.astype('str')
|
|
|
|
| 326 |
for i in data.index:
|
| 327 |
if (str(data.at[i, 'pos']) in data.at[i, 'positions']) and data.at[i, 'trsh4'] == 'surface':
|
| 328 |
data.at[i, 'threeState_trsh4_HQ'] = 'interface'
|
|
|
|
| 320 |
interface_dataframe = interface_dataframe.append(k, ignore_index=True)
|
| 321 |
|
| 322 |
interface_dataframe.columns = ['uniprotID', 'positions']
|
| 323 |
+
st.write('HERE')
|
| 324 |
data = finalTouch(allData)
|
| 325 |
+
st.write('finalTouch')
|
| 326 |
+
st.write(data.head())
|
| 327 |
data = data.merge(interface_dataframe, on='uniprotID', how='left')
|
| 328 |
data.positions = data.positions.astype('str')
|
| 329 |
+
st.write('passed')
|
| 330 |
for i in data.index:
|
| 331 |
if (str(data.at[i, 'pos']) in data.at[i, 'positions']) and data.at[i, 'trsh4'] == 'surface':
|
| 332 |
data.at[i, 'threeState_trsh4_HQ'] = 'interface'
|