Skip to content

Commit 6f41960

Browse files
authored
Add files via upload
1 parent 0eeb5c1 commit 6f41960

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

conformation_search.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
import multioptpy
99
import numpy as np
1010
import itertools
11+
import datetime
1112

1213
bohr2ang = 0.529177210903
1314
ang2bohr = 1.0 / bohr2ang
@@ -414,8 +415,8 @@ def switch_conformer_with_tabu(energy_list, visit_counts, temperature=298.15, al
414415
tabu_alpha = args.tabu_alpha
415416
init_geom_num_list, init_element_list = read_xyz(args.INPUT)
416417
sampling_temperature = args.sampling_temperature
417-
folder_name = os.path.splitext(args.INPUT)[0]+"_"+str(int(args.base_force))+"KJ_CS_REPORT"
418-
418+
date_str = datetime.datetime.now().strftime("%Y%m%d_%H%M%S")
419+
folder_name = os.path.splitext(args.INPUT)[0]+"_"+str(int(args.base_force))+"KJ_CS_"+date_str
419420
if not os.path.exists(folder_name):
420421
os.makedirs(folder_name)
421422

0 commit comments

Comments
 (0)