pwact 0.1.21__tar.gz → 0.1.23__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.
Files changed (64) hide show
  1. {pwact-0.1.21 → pwact-0.1.23}/PKG-INFO +1 -1
  2. {pwact-0.1.21 → pwact-0.1.23}/pwact/active_learning/explore/select_image.py +1 -1
  3. {pwact-0.1.21 → pwact-0.1.23}/pwact/active_learning/user_input/cmd_infos.py +4 -2
  4. {pwact-0.1.21 → pwact-0.1.23}/pwact/main.py +2 -1
  5. {pwact-0.1.21 → pwact-0.1.23}/pwact.egg-info/PKG-INFO +1 -1
  6. {pwact-0.1.21 → pwact-0.1.23}/setup.py +1 -1
  7. {pwact-0.1.21 → pwact-0.1.23}/LICENSE +0 -0
  8. {pwact-0.1.21 → pwact-0.1.23}/README.md +0 -0
  9. {pwact-0.1.21 → pwact-0.1.23}/pwact/__init__.py +0 -0
  10. {pwact-0.1.21 → pwact-0.1.23}/pwact/active_learning/__init__.py +0 -0
  11. {pwact-0.1.21 → pwact-0.1.23}/pwact/active_learning/environment.py +0 -0
  12. {pwact-0.1.21 → pwact-0.1.23}/pwact/active_learning/explore/__init__.py +0 -0
  13. {pwact-0.1.21 → pwact-0.1.23}/pwact/active_learning/explore/run_model_md.py +0 -0
  14. {pwact-0.1.21 → pwact-0.1.23}/pwact/active_learning/init_bulk/__init__.py +0 -0
  15. {pwact-0.1.21 → pwact-0.1.23}/pwact/active_learning/init_bulk/aimd.py +0 -0
  16. {pwact-0.1.21 → pwact-0.1.23}/pwact/active_learning/init_bulk/duplicate_scale.py +0 -0
  17. {pwact-0.1.21 → pwact-0.1.23}/pwact/active_learning/init_bulk/init_bulk_run.py +0 -0
  18. {pwact-0.1.21 → pwact-0.1.23}/pwact/active_learning/init_bulk/relabel.py +0 -0
  19. {pwact-0.1.21 → pwact-0.1.23}/pwact/active_learning/init_bulk/relax.py +0 -0
  20. {pwact-0.1.21 → pwact-0.1.23}/pwact/active_learning/label/__init__.py +0 -0
  21. {pwact-0.1.21 → pwact-0.1.23}/pwact/active_learning/label/labeling.py +0 -0
  22. {pwact-0.1.21 → pwact-0.1.23}/pwact/active_learning/slurm/__init__.py +0 -0
  23. {pwact-0.1.21 → pwact-0.1.23}/pwact/active_learning/slurm/slurm.py +0 -0
  24. {pwact-0.1.21 → pwact-0.1.23}/pwact/active_learning/slurm/slurm_tool.py +0 -0
  25. {pwact-0.1.21 → pwact-0.1.23}/pwact/active_learning/test/__init__.py +0 -0
  26. {pwact-0.1.21 → pwact-0.1.23}/pwact/active_learning/test/test.py +0 -0
  27. {pwact-0.1.21 → pwact-0.1.23}/pwact/active_learning/train/__init__.py +0 -0
  28. {pwact-0.1.21 → pwact-0.1.23}/pwact/active_learning/train/dp_kpu.py +0 -0
  29. {pwact-0.1.21 → pwact-0.1.23}/pwact/active_learning/train/train_model.py +0 -0
  30. {pwact-0.1.21 → pwact-0.1.23}/pwact/active_learning/user_input/__init__.py +0 -0
  31. {pwact-0.1.21 → pwact-0.1.23}/pwact/active_learning/user_input/init_bulk_input.py +0 -0
  32. {pwact-0.1.21 → pwact-0.1.23}/pwact/active_learning/user_input/iter_input.py +0 -0
  33. {pwact-0.1.21 → pwact-0.1.23}/pwact/active_learning/user_input/resource.py +0 -0
  34. {pwact-0.1.21 → pwact-0.1.23}/pwact/active_learning/user_input/scf_param.py +0 -0
  35. {pwact-0.1.21 → pwact-0.1.23}/pwact/active_learning/user_input/train_param/__init__.py +0 -0
  36. {pwact-0.1.21 → pwact-0.1.23}/pwact/active_learning/user_input/train_param/model_param.py +0 -0
  37. {pwact-0.1.21 → pwact-0.1.23}/pwact/active_learning/user_input/train_param/nep_param.py +0 -0
  38. {pwact-0.1.21 → pwact-0.1.23}/pwact/active_learning/user_input/train_param/nn_feature_type.py +0 -0
  39. {pwact-0.1.21 → pwact-0.1.23}/pwact/active_learning/user_input/train_param/optimizer_param.py +0 -0
  40. {pwact-0.1.21 → pwact-0.1.23}/pwact/active_learning/user_input/train_param/train_param.py +0 -0
  41. {pwact-0.1.21 → pwact-0.1.23}/pwact/active_learning/user_input/train_param/work_file_param.py +0 -0
  42. {pwact-0.1.21 → pwact-0.1.23}/pwact/active_learning/user_input/workdir.py +0 -0
  43. {pwact-0.1.21 → pwact-0.1.23}/pwact/bin/__init__.py +0 -0
  44. {pwact-0.1.21 → pwact-0.1.23}/pwact/data_format/__init__.py +0 -0
  45. {pwact-0.1.21 → pwact-0.1.23}/pwact/data_format/configop.py +0 -0
  46. {pwact-0.1.21 → pwact-0.1.23}/pwact/utils/__init__.py +0 -0
  47. {pwact-0.1.21 → pwact-0.1.23}/pwact/utils/app_lib/__init__.py +0 -0
  48. {pwact-0.1.21 → pwact-0.1.23}/pwact/utils/app_lib/common.py +0 -0
  49. {pwact-0.1.21 → pwact-0.1.23}/pwact/utils/app_lib/cp2k.py +0 -0
  50. {pwact-0.1.21 → pwact-0.1.23}/pwact/utils/app_lib/cp2k_dp.py +0 -0
  51. {pwact-0.1.21 → pwact-0.1.23}/pwact/utils/app_lib/lammps.py +0 -0
  52. {pwact-0.1.21 → pwact-0.1.23}/pwact/utils/app_lib/pwmat.py +0 -0
  53. {pwact-0.1.21 → pwact-0.1.23}/pwact/utils/constant.py +0 -0
  54. {pwact-0.1.21 → pwact-0.1.23}/pwact/utils/file_operation.py +0 -0
  55. {pwact-0.1.21 → pwact-0.1.23}/pwact/utils/format_input_output.py +0 -0
  56. {pwact-0.1.21 → pwact-0.1.23}/pwact/utils/json_operation.py +0 -0
  57. {pwact-0.1.21 → pwact-0.1.23}/pwact/utils/pre_al_data_util.py +0 -0
  58. {pwact-0.1.21 → pwact-0.1.23}/pwact/utils/process_tool.py +0 -0
  59. {pwact-0.1.21 → pwact-0.1.23}/pwact/utils/slurm_script.py +0 -0
  60. {pwact-0.1.21 → pwact-0.1.23}/pwact.egg-info/SOURCES.txt +0 -0
  61. {pwact-0.1.21 → pwact-0.1.23}/pwact.egg-info/dependency_links.txt +0 -0
  62. {pwact-0.1.21 → pwact-0.1.23}/pwact.egg-info/entry_points.txt +0 -0
  63. {pwact-0.1.21 → pwact-0.1.23}/pwact.egg-info/top_level.txt +0 -0
  64. {pwact-0.1.21 → pwact-0.1.23}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pwact
3
- Version: 0.1.21
3
+ Version: 0.1.23
4
4
  Summary: PWACT is an open-source automated active learning platform based on PWMLFF for efficient data sampling.
5
5
  Home-page: https://github.com/LonxunQuantum/PWact
6
6
  Author: LonxunQuantum
@@ -179,7 +179,7 @@ def select_pd(devi_pd:DataFrame, lower:float, higer:float, max_select:float):
179
179
  return error_pd, accurate_pd, cand_rand_candi, cand_remove_candi
180
180
 
181
181
  def read_pd_files(model_devi_files:list[str]):
182
- devi_pd = pd.DataFrame(columns=EXPLORE_FILE_STRUCTURE.devi_columns)
182
+ devi_pd = pd.DataFrame()#columns=EXPLORE_FILE_STRUCTURE.devi_columns
183
183
  base_force_kpu = []
184
184
  if os.path.basename(model_devi_files[0]) == EXPLORE_FILE_STRUCTURE.kpu_model_devi:
185
185
  for devi_file in model_devi_files:
@@ -21,7 +21,8 @@ def cmd_infos(cmd_type=None):
21
21
  cmd_info += "'pwact kill init_bulk' for 'init_bulk' tasks\n"
22
22
  cmd_info += "'pwact kill run' for 'run' tasks\n\n"
23
23
 
24
- cmd_info += "to_pwdata".lower() + "\n"
24
+ cmd_info += "to_pwdata".lower() + "\n\n"
25
+ cmd_info += "(This method has been abandoned, new conversion methods refer to the pwdata documentation http://doc.lonxun.com/PWMLFF/Appendix-2/)\n\n"
25
26
  cmd_info += "you could use this method to change outcars or movements to pwdata format.\nFor more detail for this command, you could use 'PWact to_pwdata -h'\n\n"
26
27
 
27
28
  cmd_info += "gather_pwdata".lower() + "\n"
@@ -72,4 +73,5 @@ def cmd_info_filter():
72
73
  cmd_info += "filter" + "\n"
73
74
  cmd_info += "you could use this method to test the selection results corresponding to the upper and lower limit settings\n"
74
75
  cmd_info += "example:\n"
75
- cmd_info += "'pwact filter -i iter.0000/explore/select -l 0.01 -h 0.02 -s filter_test_result'\n\n"
76
+ cmd_info += "'pwact filter -i iter.0000/explore/md -l 0.01 -u 0.02 -s'\n\n"
77
+ return cmd_info
@@ -301,7 +301,7 @@ def kill_job():
301
301
 
302
302
  def filter_test(input_cmds):
303
303
  parser = argparse.ArgumentParser()
304
- parser.add_argument('-i', '--md_dir', help="specify input dir such as 'iter.0000/temp_run_iter_work/explore/md'", type=str, required=True)
304
+ parser.add_argument('-i', '--md_dir', help="specify the md dir such as 'iter.0000/temp_run_iter_work/explore/md' or iter.0000/explore/md", type=str, required=True)
305
305
  parser.add_argument('-l', '--lower', help="specify lower limit value", type=float, required=True)
306
306
  parser.add_argument('-u', '--upper', help="specify upper limit value", type=float, required=True)
307
307
  parser.add_argument('-s', '--save', action='store_true', help="if '-s' is set, save the detailed information of the selected configs to CSV files")
@@ -348,6 +348,7 @@ def main():
348
348
  gather_pwmata(sys.argv[2:])
349
349
 
350
350
  elif "to_pwdata".upper() == sys.argv[1].upper():#these function may use pwdata command
351
+ print("\n\nWarning! This method has been abandoned, new conversion methods refer to the pwdata documentation http://doc.lonxun.com/PWMLFF/Appendix-2/\n\n")
351
352
  to_pwdata(sys.argv[2:])
352
353
 
353
354
  elif "run".upper() == sys.argv[1].upper():
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pwact
3
- Version: 0.1.21
3
+ Version: 0.1.23
4
4
  Summary: PWACT is an open-source automated active learning platform based on PWMLFF for efficient data sampling.
5
5
  Home-page: https://github.com/LonxunQuantum/PWact
6
6
  Author: LonxunQuantum
@@ -5,7 +5,7 @@ with open("README.md", "r") as fh:
5
5
 
6
6
  setuptools.setup(
7
7
  name="pwact",
8
- version="0.1.21",
8
+ version="0.1.23",
9
9
  author="LonxunQuantum",
10
10
  author_email="lonxun@pwmat.com",
11
11
  description="PWACT is an open-source automated active learning platform based on PWMLFF for efficient data sampling.",
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes