pyctramer 0.2.1__tar.gz → 0.2.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyctramer
3
- Version: 0.2.1
3
+ Version: 0.2.2
4
4
  Summary: Python package for Charge Transfer Rate from Atomistic Molecular dynamics, Electronic structure, and Rate theory
5
5
  Home-page: https://www.github.com/ctramer/PyCTRAMER
6
6
  Author: Zengkui Liu, Dominikus Brian, and Xiang Sun
@@ -12,6 +12,7 @@ exp = np.exp
12
12
  I = 1j
13
13
 
14
14
  def run_step7(i, job_control, dict_of_simulation, job_info):
15
+ # print('')
15
16
  #print(arrow_str,"Started Step 7: FGR")
16
17
  project = dict_of_simulation['project']
17
18
  work_dir = dict_of_simulation['work_dir']
@@ -4,6 +4,7 @@ from .Utilities import *
4
4
 
5
5
 
6
6
  def run_step6(i,job_control,dict_of_simulation,job_info):
7
+ # print('')
7
8
  #print(arrow_str,"Started Step 6: SpinBoson")
8
9
  project = dict_of_simulation['project']
9
10
  work_dir = dict_of_simulation['work_dir']
@@ -42,6 +43,7 @@ def run_step6(i,job_control,dict_of_simulation,job_info):
42
43
  LE_path = md_dir + "/Traj_"+MD_dyn_state+"/"+project +"_"+ caseid+"_E_LE_TRAJ_"+MD_dyn_state+"_NVE.dat"
43
44
  CT_path = md_dir + "/Traj_"+MD_dyn_state+"/"+project +"_"+ caseid+"_E_"+namemax[1]+"_TRAJ_"+MD_dyn_state+"_NVE.dat"
44
45
  kcal2eV = 0.0433641043
46
+ print("Transition of the spin-boson model is ", namemax[0], namemax[1])
45
47
  print('Energy gap correction of the transition (eV): ', correctmax) #, traj_N_frames)
46
48
  Ut = kcal2eV * (np.loadtxt(LE_path) - np.loadtxt(CT_path)) + correctmax
47
49
 
@@ -240,6 +240,7 @@ def check_job_status(job_control, dict_of_simulation, job_info):
240
240
 
241
241
  if curr_step == 1 and job_control[i]['status'][curr_step] == 'finished':
242
242
  print("==> Finished current step # ", curr_step, '\n')
243
+ print('')
243
244
  print("==> Start current step # ", curr_step+1,": AnalyzeQC")
244
245
  job_control = run_step2(i,job_control,dict_of_simulation)
245
246
  curr_step = 2
@@ -247,13 +248,15 @@ def check_job_status(job_control, dict_of_simulation, job_info):
247
248
 
248
249
  if curr_step == 2 and job_control[i]['status'][curr_step] == 'finished':
249
250
  print("==> Finished current step # ", curr_step, '\n')
251
+ print('')
250
252
  print("==> Start current step # ", curr_step+1, ": ConstructFF")
251
253
  job_control = run_step3(i,job_control,dict_of_simulation, job_info)
252
254
  curr_step = 3
253
255
  job_control[i]['status'][curr_step] = 'finished'
254
256
 
255
257
  if curr_step == 3 and job_control[i]['status'][curr_step] == 'finished':
256
- print("==> Finished current step # ", curr_step, '\n')
258
+ print("==> Finished current step # ", curr_step, '\n')
259
+ print('')
257
260
  print("==> Start current step # ", curr_step+1, ": RunMD")
258
261
  job_control = run_step4(i,job_control,dict_of_simulation)
259
262
  curr_step = 4
@@ -265,6 +268,7 @@ def check_job_status(job_control, dict_of_simulation, job_info):
265
268
  print("job_control[i]['MD_jobids']",job_control[i]['MD_jobids'])
266
269
  job_control[i]['status'][curr_step] = 'finished'
267
270
  print("==> Finished current step # ", curr_step, '\n')
271
+ print('')
268
272
  else:
269
273
  # print("MD_jobids",job_control[i]['MD_jobids'] )
270
274
  pass
@@ -275,6 +279,7 @@ def check_job_status(job_control, dict_of_simulation, job_info):
275
279
  curr_step = 5
276
280
  job_control[i]['status'][curr_step] = 'finished'
277
281
  print("==> Finished current step # ", curr_step, '\n')
282
+ print('')
278
283
 
279
284
  if curr_step == 5 and job_control[i]['status'][curr_step] == 'finished':
280
285
  print("==> Start current step # ", curr_step+1, ": SpinBoson")
@@ -282,13 +287,15 @@ def check_job_status(job_control, dict_of_simulation, job_info):
282
287
  curr_step = 6
283
288
  job_control[i]['status'][curr_step] = 'finished'
284
289
  print("==> Finished current step # ", curr_step, '\n')
290
+ print('')
285
291
 
286
292
  if curr_step == 6 and job_control[i]['status'][curr_step] == 'finished':
287
293
  print("==> Start current step # ", curr_step+1, ": FGR")
288
294
  job_control = run_step7(i,job_control,dict_of_simulation,job_info)
289
295
  curr_step = 7
290
296
  job_control[i]['status'][curr_step] = 'finished'
291
- print("==> Finished current step # ", curr_step, '\n')
297
+ print("==> Finished current step # ", curr_step, '\n')
298
+ print('')
292
299
  job_control[i]['status'][0] = curr_step
293
300
 
294
301
  return job_control
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyctramer
3
- Version: 0.2.1
3
+ Version: 0.2.2
4
4
  Summary: Python package for Charge Transfer Rate from Atomistic Molecular dynamics, Electronic structure, and Rate theory
5
5
  Home-page: https://www.github.com/ctramer/PyCTRAMER
6
6
  Author: Zengkui Liu, Dominikus Brian, and Xiang Sun
@@ -4,7 +4,7 @@ setuptools.setup(
4
4
 
5
5
  name="pyctramer", # The file name of the package after packaging
6
6
 
7
- version="0.2.1", # version number
7
+ version="0.2.2", # version number
8
8
 
9
9
  author="Zengkui Liu, Dominikus Brian, and Xiang Sun", # author name
10
10
 
File without changes
File without changes