Spaces:
Sleeping
Sleeping
fatmacankara
commited on
Commit
·
0f5b4dd
1
Parent(s):
f4dc3e4
Update code/pdb_featureVector.py
Browse files
code/pdb_featureVector.py
CHANGED
@@ -60,7 +60,6 @@ def pdb(input_set, mode, impute):
|
|
60 |
path_to_input_files, path_to_output_files, path_to_domains, fisher_path, path_to_interfaces, buffer = manage_files(
|
61 |
mode)
|
62 |
out_path = path_to_output_files / 'log.txt'
|
63 |
-
sys.stdout = open(out_path, 'w')
|
64 |
print('Creating directories...')
|
65 |
|
66 |
annotation_list = ['disulfide', 'intMet', 'intramembrane', 'naturalVariant', 'dnaBinding', 'activeSite',
|
@@ -1675,5 +1674,4 @@ def pdb(input_set, mode, impute):
|
|
1675 |
hours, rem = divmod(end - start, 3600)
|
1676 |
minutes, seconds = divmod(rem, 60)
|
1677 |
print("Time passed: {:0>2}:{:0>2}:{:05.2f}".format(int(hours), int(minutes), seconds))
|
1678 |
-
sys.stdout.close()
|
1679 |
return ready
|
|
|
60 |
path_to_input_files, path_to_output_files, path_to_domains, fisher_path, path_to_interfaces, buffer = manage_files(
|
61 |
mode)
|
62 |
out_path = path_to_output_files / 'log.txt'
|
|
|
63 |
print('Creating directories...')
|
64 |
|
65 |
annotation_list = ['disulfide', 'intMet', 'intramembrane', 'naturalVariant', 'dnaBinding', 'activeSite',
|
|
|
1674 |
hours, rem = divmod(end - start, 3600)
|
1675 |
minutes, seconds = divmod(rem, 60)
|
1676 |
print("Time passed: {:0>2}:{:0>2}:{:05.2f}".format(int(hours), int(minutes), seconds))
|
|
|
1677 |
return ready
|