Spaces:
Sleeping
Sleeping
fatmacankara
commited on
Commit
·
e9190e4
1
Parent(s):
152bc0f
Update code/pdb_featureVector.py
Browse files
code/pdb_featureVector.py
CHANGED
@@ -1646,8 +1646,7 @@ def pdb(input_set, mode, impute):
|
|
1646 |
ready['domains_3Ddist'] = ready['domains_3Ddist'].fillna(24.5)
|
1647 |
ready['sasa'] = ready['sasa'].fillna(29.5)
|
1648 |
ready['location_3state'] = ready['location_3state'].fillna('unknown')
|
1649 |
-
elif (impute == 'False') or (impute == 'false'):
|
1650 |
-
st.write('DEĞİL', impute)
|
1651 |
pass
|
1652 |
ready = ready.replace({'nan': np.NaN})
|
1653 |
ready.to_csv(path_to_output_files / 'featurevector_pdb.txt', sep='\t', index=False)
|
|
|
1646 |
ready['domains_3Ddist'] = ready['domains_3Ddist'].fillna(24.5)
|
1647 |
ready['sasa'] = ready['sasa'].fillna(29.5)
|
1648 |
ready['location_3state'] = ready['location_3state'].fillna('unknown')
|
1649 |
+
elif (impute == 'False') or (impute == 'false') or (impute == False):
|
|
|
1650 |
pass
|
1651 |
ready = ready.replace({'nan': np.NaN})
|
1652 |
ready.to_csv(path_to_output_files / 'featurevector_pdb.txt', sep='\t', index=False)
|