pwact 0.1.15__py3-none-any.whl → 0.1.16__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.
@@ -166,9 +166,9 @@ def do_collection(resource: Resource, input_param:InitBulkParam):
166
166
  write_to_file(result_save_path, result_lines, mode='w')
167
167
 
168
168
  def scancel_jobs(work_dir):
169
- relax_jobs = glob.glob(os.path.join(work_dir, TEMP_STRUCTURE.tmp_init_bulk_dir, INIT_BULK.relax, "slurm-*.out"))
170
- scf_jobs = glob.glob(os.path.join(work_dir, TEMP_STRUCTURE.tmp_init_bulk_dir, INIT_BULK.aimd, "slurm-*.out"))
171
- if len(scf_jobs) > 0:
172
- scancle_job(scf_jobs)
173
- elif len(relax_jobs) > 0:
174
- scancle_job(relax_jobs)
169
+ relax_job = os.path.join(work_dir, TEMP_STRUCTURE.tmp_init_bulk_dir, INIT_BULK.relax)
170
+ scf_job = os.path.join(work_dir, TEMP_STRUCTURE.tmp_init_bulk_dir, INIT_BULK.aimd)
171
+ print("Cancel aimd task:")
172
+ scancle_job(scf_job)
173
+ print("Cancel relax task:")
174
+ scancle_job(relax_job)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pwact
3
- Version: 0.1.15
3
+ Version: 0.1.16
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
@@ -8,7 +8,7 @@ pwact/active_learning/explore/select_image.py,sha256=QAoD1CxaC5Xn3W5rQHxTNWMN53K
8
8
  pwact/active_learning/init_bulk/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
9
9
  pwact/active_learning/init_bulk/aimd.py,sha256=hfhxK2su7qaA-yp1Ql6U_2cPRH6yoMfcwWI97nurxqU,10549
10
10
  pwact/active_learning/init_bulk/duplicate_scale.py,sha256=oVFB6umOhI8xGxNTPowvztxYgJPGAopU2bvV_NaHpdM,9463
11
- pwact/active_learning/init_bulk/init_bulk_run.py,sha256=6TrquDlpjkz61oBE05luZ6py2F41aZEvZyyTeVIRQiQ,8740
11
+ pwact/active_learning/init_bulk/init_bulk_run.py,sha256=FG1EAXvuBJ1ERCg2htFVooif8mxcx4XyVgOoKF-1B_Q,8683
12
12
  pwact/active_learning/init_bulk/relabel.py,sha256=08AzQzRtPbWxVmOkTgFlcalWF-jX1qHh2I4H5Umtz0Q,10520
13
13
  pwact/active_learning/init_bulk/relax.py,sha256=VC448HxMqwzysXPrJtstLkuFbfbThRyAsD63vMQrAJo,10520
14
14
  pwact/active_learning/label/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -51,9 +51,9 @@ pwact/utils/app_lib/common.py,sha256=KiKZHrk_SDwP9b8ZORor8rXzZbU-vSSjliqlYvjyvPQ
51
51
  pwact/utils/app_lib/cp2k.py,sha256=vPTofDEz8Qd1A3gjMkMxXF8qWQLVz3XDc6-hSjRG7j0,10499
52
52
  pwact/utils/app_lib/lammps.py,sha256=2oxHJHdDxfDDWWmnjo0gMNwgGvxABwuDgDlb8kbhgfk,8037
53
53
  pwact/utils/app_lib/pwmat.py,sha256=l3O_AXExy0Sgkz0RQolrvRg0ZfHLLySFteQZ2dhqfhs,16543
54
- pwact-0.1.15.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
55
- pwact-0.1.15.dist-info/METADATA,sha256=LfoeIIOCqFn0s-UfrGP9Hj1YAnnzud3CzR--4ebQloo,3659
56
- pwact-0.1.15.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
57
- pwact-0.1.15.dist-info/entry_points.txt,sha256=p61auAnpbn8E2WjvHNBA7rb9_NRAOCew4zdcCj33cGc,42
58
- pwact-0.1.15.dist-info/top_level.txt,sha256=fY1_7sH5Lke4dC9L8MbYM4fT5aat5eCkAmpkIzY1SlM,6
59
- pwact-0.1.15.dist-info/RECORD,,
54
+ pwact-0.1.16.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
55
+ pwact-0.1.16.dist-info/METADATA,sha256=776PpNZB1FS6PJNf3jviTFmKX5iZ4wBtK2utsQh0Hes,3659
56
+ pwact-0.1.16.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
57
+ pwact-0.1.16.dist-info/entry_points.txt,sha256=p61auAnpbn8E2WjvHNBA7rb9_NRAOCew4zdcCj33cGc,42
58
+ pwact-0.1.16.dist-info/top_level.txt,sha256=fY1_7sH5Lke4dC9L8MbYM4fT5aat5eCkAmpkIzY1SlM,6
59
+ pwact-0.1.16.dist-info/RECORD,,
File without changes