added button to go back to main page. default files work.

This commit is contained in:
zinph
2020-01-26 19:09:52 -05:00
parent 1c84b966db
commit e99c4150fa
3 changed files with 24 additions and 5 deletions

View File

@@ -214,7 +214,6 @@ class SIME:
When total compound is 1000000 or library size, this function will be called
to write compounds to file.
'''
print(compound_list)
file_temp = self.smile_file_name + '_'+str(file_counter)+'.smiles' # attempts to split files because they get too large. Name of the first file will be "file_" + this variable
with open(file_temp,'a+') as file_handler:
file_handler.write('\n'.join(compound_list))