pwact 0.4.0.dev1__py3-none-any.whl → 0.4.2__py3-none-any.whl

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.
@@ -212,10 +212,13 @@ def read_pd_files(model_devi_files:list[str]):
212
212
  tmp_pd[EXPLORE_FILE_STRUCTURE.devi_columns[2]] = os.path.dirname(devi_file)
213
213
  devi_pd = pd.concat([devi_pd, tmp_pd])
214
214
  else:
215
+ #step avg_devi_f min_devi_f max_devi_f avg_devi_e min_devi_e max_devi_e
216
+ # 0 0.008682422 0.000574555 0.014187865 0.030333196 0.011702489 0.043806718
217
+ # 10 0.016611307 0.000627126 0.027185410 0.031661788 0.005340899 0.048241921
215
218
  for devi_file in model_devi_files:
216
219
  devi_force = read_data(devi_file, skiprows=0)
217
220
  tmp_pd = pd.DataFrame()
218
- tmp_pd[EXPLORE_FILE_STRUCTURE.devi_columns[0]] = devi_force[:, 1]
221
+ tmp_pd[EXPLORE_FILE_STRUCTURE.devi_columns[0]] = devi_force[:, 3] # max_devi_f
219
222
  tmp_pd[EXPLORE_FILE_STRUCTURE.devi_columns[1]] = devi_force[:, 0]
220
223
  tmp_pd[EXPLORE_FILE_STRUCTURE.devi_columns[2]] = os.path.dirname(devi_file)
221
224
  devi_pd = pd.concat([devi_pd, tmp_pd])
@@ -19,7 +19,7 @@ def check_model_type(model_load_path):
19
19
  raise Exception("ERROR! The input model file cannot be parsed!")
20
20
  else:
21
21
  model_type = "NEP"
22
- return model_type
22
+ return model_type
23
23
 
24
24
  '''
25
25
  description:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pwact
3
- Version: 0.4.0.dev1
3
+ Version: 0.4.2
4
4
  Summary: PWACT is an open-source automated active learning platform based on MatPL for efficient data sampling.
5
5
  Home-page: https://github.com/LonxunQuantum/PWact
6
6
  Author: LonxunQuantum
@@ -4,7 +4,7 @@ pwact/active_learning/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3h
4
4
  pwact/active_learning/environment.py,sha256=aySFa--fTWAgIR9_PKwfJ9pLKVexmL22lJ1NTtnQuNo,512
5
5
  pwact/active_learning/explore/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
6
  pwact/active_learning/explore/run_model_md.py,sha256=R6o26GSSvMNWY0cQcJ9QS1bCWZ7wYlfJssP4fVKSgfw,28955
7
- pwact/active_learning/explore/select_image.py,sha256=U6AEmxy8CyHb8JFO8RgKRBBC9xxzvEWNMrbFZbUGUio,14607
7
+ pwact/active_learning/explore/select_image.py,sha256=XtctS5sKJ1Eo2dyCJbWJ4vzPjCuI0IytTKMG6GwTRKg,14970
8
8
  pwact/active_learning/init_bulk/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
9
9
  pwact/active_learning/init_bulk/aimd.py,sha256=XzDlX2vylaljQKoUnv6nrI2NfiOdHZpq8qr3DenA1F4,10465
10
10
  pwact/active_learning/init_bulk/direct.py,sha256=TBB7f13wbbURDgn4_IkgRZ-rwQ3p4gviNVYIAldi97U,9680
@@ -43,7 +43,7 @@ pwact/data_format/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU
43
43
  pwact/data_format/configop.py,sha256=9hZDg94E5k9Djgsc_xjrd1ESDcDx2yvshpELeROm9qE,11934
44
44
  pwact/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
45
45
  pwact/utils/constant.py,sha256=xcd8zBFDTG6LCoYixAgYZlg0Szdc5BO_lIcP78wYo-0,19491
46
- pwact/utils/file_operation.py,sha256=lYWLG4dU36F8g1HBrBNP7z-U7pJFvCcaOX-YmBSru4I,10042
46
+ pwact/utils/file_operation.py,sha256=dOKPDLvZZZpRunDqgGPIM_-hmaQ1dQY9EmXy8LIoW9Q,10038
47
47
  pwact/utils/format_input_output.py,sha256=TTUxA_UHdmqz64Pgl5UO-EhE0oqPk_m47AKNTbO5aTw,2091
48
48
  pwact/utils/json_operation.py,sha256=BqBsnIjk1URoMW_s2yu7Gk8IBxlir-oo6ivt8P3RIqg,1794
49
49
  pwact/utils/pre_al_data_util.py,sha256=QE-axnVYUIyORFiVs-WK9-UaJlMUFY816_rSyYOOJc8,2542
@@ -60,9 +60,9 @@ pwact/utils/app_lib/lammps.py,sha256=iXAuCNWA-J6decwKEwT36CAqrnP7Uvs45lAV_diFtug
60
60
  pwact/utils/app_lib/pwmat.py,sha256=PTRPkG_d00ibGhpCe2-4M7MW3dx2ZuAyb9hT2jl_LAs,18047
61
61
  pwact/utils/draw/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
62
62
  pwact/utils/draw/hist_model_devi.py,sha256=o1Try-ekith2A7S6u1mt3zuTqaQwyw5tdURReh8BeLY,4945
63
- pwact-0.4.0.dev1.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
64
- pwact-0.4.0.dev1.dist-info/METADATA,sha256=eTNGRFNj_fcrn5eBQyc_nDcVELp5tuwMfcoeCj2s_8w,616
65
- pwact-0.4.0.dev1.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
66
- pwact-0.4.0.dev1.dist-info/entry_points.txt,sha256=p61auAnpbn8E2WjvHNBA7rb9_NRAOCew4zdcCj33cGc,42
67
- pwact-0.4.0.dev1.dist-info/top_level.txt,sha256=fY1_7sH5Lke4dC9L8MbYM4fT5aat5eCkAmpkIzY1SlM,6
68
- pwact-0.4.0.dev1.dist-info/RECORD,,
63
+ pwact-0.4.2.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
64
+ pwact-0.4.2.dist-info/METADATA,sha256=c5LRppBzy_z68Ru94Gw-Dh8ED6ApN52FfTMtbeiqf38,611
65
+ pwact-0.4.2.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
66
+ pwact-0.4.2.dist-info/entry_points.txt,sha256=p61auAnpbn8E2WjvHNBA7rb9_NRAOCew4zdcCj33cGc,42
67
+ pwact-0.4.2.dist-info/top_level.txt,sha256=fY1_7sH5Lke4dC9L8MbYM4fT5aat5eCkAmpkIzY1SlM,6
68
+ pwact-0.4.2.dist-info/RECORD,,