Spaces:
Sleeping
Sleeping
fatmacankara
commited on
Commit
·
3b97677
1
Parent(s):
e24c7fa
Update code/alphafold_featureVector.py
Browse files
code/alphafold_featureVector.py
CHANGED
@@ -81,7 +81,7 @@ def alphafold(input_set, mode, impute):
|
|
81 |
|
82 |
path_to_input_files, path_to_output_files, path_to_domains, fisher_path, path_to_interfaces, alphafold_path, alphafold_summary= manage_files(mode)
|
83 |
out_path = path_to_output_files / 'log.txt'
|
84 |
-
sys.stdout = open(out_path, 'w')
|
85 |
print('Creating directories...')
|
86 |
file_base = str(Path(alphafold_path / '*'))
|
87 |
file_str = glob.glob(file_base)[0].split('-')[-1].split('.')[0]
|
@@ -575,5 +575,5 @@ def alphafold(input_set, mode, impute):
|
|
575 |
hours, rem = divmod(end - start, 3600)
|
576 |
minutes, seconds = divmod(rem, 60)
|
577 |
print("Time passed: {:0>2}:{:0>2}:{:05.2f}".format(int(hours), int(minutes), seconds))
|
578 |
-
sys.stdout.close()
|
579 |
return uniprot_matched
|
|
|
81 |
|
82 |
path_to_input_files, path_to_output_files, path_to_domains, fisher_path, path_to_interfaces, alphafold_path, alphafold_summary= manage_files(mode)
|
83 |
out_path = path_to_output_files / 'log.txt'
|
84 |
+
#sys.stdout = open(out_path, 'w')
|
85 |
print('Creating directories...')
|
86 |
file_base = str(Path(alphafold_path / '*'))
|
87 |
file_str = glob.glob(file_base)[0].split('-')[-1].split('.')[0]
|
|
|
575 |
hours, rem = divmod(end - start, 3600)
|
576 |
minutes, seconds = divmod(rem, 60)
|
577 |
print("Time passed: {:0>2}:{:0>2}:{:05.2f}".format(int(hours), int(minutes), seconds))
|
578 |
+
#sys.stdout.close()
|
579 |
return uniprot_matched
|