Spaces:
Running
Running
Commit
·
3c047f4
1
Parent(s):
ac09c4e
Update code/pdb_featureVector.py
Browse files
code/pdb_featureVector.py
CHANGED
|
@@ -235,10 +235,12 @@ def pdb(input_set, mode, impute):
|
|
| 235 |
else:
|
| 236 |
print('PDB structure file exists..')
|
| 237 |
for filename in list(Path(path_to_output_files / 'pdb_structures').glob("*")):
|
|
|
|
| 238 |
filename_replace_ext = filename.with_suffix(".pdb")
|
| 239 |
filename.rename(filename_replace_ext)
|
| 240 |
|
| 241 |
file = Path(path_to_output_files / 'pdb_structures' / f'{search}.pdb')
|
|
|
|
| 242 |
|
| 243 |
base = os.path.splitext(str(file))[0]
|
| 244 |
base = '/'.join(base.split('/')[0:-1]) + '/pdb' + base.split('/')[-1]
|
|
|
|
| 235 |
else:
|
| 236 |
print('PDB structure file exists..')
|
| 237 |
for filename in list(Path(path_to_output_files / 'pdb_structures').glob("*")):
|
| 238 |
+
st.write('filename', filename)
|
| 239 |
filename_replace_ext = filename.with_suffix(".pdb")
|
| 240 |
filename.rename(filename_replace_ext)
|
| 241 |
|
| 242 |
file = Path(path_to_output_files / 'pdb_structures' / f'{search}.pdb')
|
| 243 |
+
st.write('file', file)
|
| 244 |
|
| 245 |
base = os.path.splitext(str(file))[0]
|
| 246 |
base = '/'.join(base.split('/')[0:-1]) + '/pdb' + base.split('/')[-1]
|