mlatom 2.0.0__tar.gz → 2.0.1__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.
- {MLatom-2.0.0/src/MLatom.egg-info → MLatom-2.0.1}/PKG-INFO +3 -3
- {MLatom-2.0.0 → MLatom-2.0.1}/README.md +2 -2
- {MLatom-2.0.0 → MLatom-2.0.1}/setup.py +1 -1
- {MLatom-2.0.0 → MLatom-2.0.1}/src/MLatom/MLatom.py +1 -1
- {MLatom-2.0.0 → MLatom-2.0.1}/src/MLatom/MLtasks.py +23 -6
- {MLatom-2.0.0 → MLatom-2.0.1/src/MLatom.egg-info}/PKG-INFO +3 -3
- {MLatom-2.0.0 → MLatom-2.0.1}/MLatomF +0 -0
- {MLatom-2.0.0 → MLatom-2.0.1}/mlatom +0 -0
- {MLatom-2.0.0 → MLatom-2.0.1}/setup.cfg +0 -0
- {MLatom-2.0.0 → MLatom-2.0.1}/src/MLatom/ML_NEA.py +0 -0
- {MLatom-2.0.0 → MLatom-2.0.1}/src/MLatom/MLatomF +0 -0
- {MLatom-2.0.0 → MLatom-2.0.1}/src/MLatom/__init__.py +0 -0
- {MLatom-2.0.0 → MLatom-2.0.1}/src/MLatom/args_class.py +0 -0
- {MLatom-2.0.0 → MLatom-2.0.1}/src/MLatom/cs.so +0 -0
- {MLatom-2.0.0 → MLatom-2.0.1}/src/MLatom/doc.py +0 -0
- {MLatom-2.0.0 → MLatom-2.0.1}/src/MLatom/header.py +0 -0
- {MLatom-2.0.0 → MLatom-2.0.1}/src/MLatom/interface_MLatomF.py +0 -0
- {MLatom-2.0.0 → MLatom-2.0.1}/src/MLatom/interfaces/DeePMDkit/DP_inference.py +0 -0
- {MLatom-2.0.0 → MLatom-2.0.1}/src/MLatom/interfaces/DeePMDkit/__init__.py +0 -0
- {MLatom-2.0.0 → MLatom-2.0.1}/src/MLatom/interfaces/DeePMDkit/interface_DeePMDkit.py +0 -0
- {MLatom-2.0.0 → MLatom-2.0.1}/src/MLatom/interfaces/DeePMDkit/template.json +0 -0
- {MLatom-2.0.0 → MLatom-2.0.1}/src/MLatom/interfaces/GAP/__init__.py +0 -0
- {MLatom-2.0.0 → MLatom-2.0.1}/src/MLatom/interfaces/GAP/interface_GAP.py +0 -0
- {MLatom-2.0.0 → MLatom-2.0.1}/src/MLatom/interfaces/PhysNet/PhysNet_predict.py +0 -0
- {MLatom-2.0.0 → MLatom-2.0.1}/src/MLatom/interfaces/PhysNet/PhysNet_train.py +0 -0
- {MLatom-2.0.0 → MLatom-2.0.1}/src/MLatom/interfaces/PhysNet/__init__.py +0 -0
- {MLatom-2.0.0 → MLatom-2.0.1}/src/MLatom/interfaces/PhysNet/interface_PhysNet.py +0 -0
- {MLatom-2.0.0 → MLatom-2.0.1}/src/MLatom/interfaces/TorchANI/TorchANI_predict.py +0 -0
- {MLatom-2.0.0 → MLatom-2.0.1}/src/MLatom/interfaces/TorchANI/TorchANI_train.py +0 -0
- {MLatom-2.0.0 → MLatom-2.0.1}/src/MLatom/interfaces/TorchANI/__init__.py +0 -0
- {MLatom-2.0.0 → MLatom-2.0.1}/src/MLatom/interfaces/TorchANI/interface_TorchANI.py +0 -0
- {MLatom-2.0.0 → MLatom-2.0.1}/src/MLatom/interfaces/__init__.py +0 -0
- {MLatom-2.0.0 → MLatom-2.0.1}/src/MLatom/interfaces/sGDML/__init__.py +0 -0
- {MLatom-2.0.0 → MLatom-2.0.1}/src/MLatom/interfaces/sGDML/interface_sGDML.py +0 -0
- {MLatom-2.0.0 → MLatom-2.0.1}/src/MLatom/interfaces/sGDML/sgdml_dataset_from_extxyz.py +0 -0
- {MLatom-2.0.0 → MLatom-2.0.1}/src/MLatom/ref.json +0 -0
- {MLatom-2.0.0 → MLatom-2.0.1}/src/MLatom/sliceData.py +0 -0
- {MLatom-2.0.0 → MLatom-2.0.1}/src/MLatom/stopper.py +0 -0
- {MLatom-2.0.0 → MLatom-2.0.1}/src/MLatom.egg-info/SOURCES.txt +0 -0
- {MLatom-2.0.0 → MLatom-2.0.1}/src/MLatom.egg-info/dependency_links.txt +0 -0
- {MLatom-2.0.0 → MLatom-2.0.1}/src/MLatom.egg-info/requires.txt +0 -0
- {MLatom-2.0.0 → MLatom-2.0.1}/src/MLatom.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: MLatom
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.1
|
|
4
4
|
Summary: A Package for Atomistic Simulations with Machine Learning
|
|
5
5
|
Home-page: http://mlatom.com
|
|
6
6
|
Author: Pavlo O. Dral
|
|
@@ -112,7 +112,7 @@ Description: # Brief Introduction
|
|
|
112
112
|
|
|
113
113
|
# About Program
|
|
114
114
|
MLatom: a Package for Atomistic Simulations with Machine Learning
|
|
115
|
-
Version 2.0
|
|
115
|
+
Version 2.0.1
|
|
116
116
|
http://mlatom.com/
|
|
117
117
|
|
|
118
118
|
Copyright (c) 2013-2021 Pavlo O. Dral
|
|
@@ -126,7 +126,7 @@ Description: # Brief Introduction
|
|
|
126
126
|
|
|
127
127
|
1. Pavlo O. Dral, J. Comput. Chem. 2019, 40, 2339-2347
|
|
128
128
|
2. Pavlo O. Dral, Fuchun Ge, Bao-Xin Xue, Yi-Fan Hou, Max Pinheiro Jr, Jianxing Huang, Mario Barbatti, Top. Curr. Chem. 2021, 379, 27
|
|
129
|
-
3. Pavlo O. Dral, Bao-Xin Xue, Fuchun Ge, Yi-Fan Hou, Max Pinheiro Jr, MLatom: A Package for Atomistic Simulations with Machine Learning, version 2.0, Xiamen University, Xiamen, China, 2013-2021.
|
|
129
|
+
3. Pavlo O. Dral, Bao-Xin Xue, Fuchun Ge, Yi-Fan Hou, Max Pinheiro Jr, MLatom: A Package for Atomistic Simulations with Machine Learning, version 2.0.1, Xiamen University, Xiamen, China, 2013-2021.
|
|
130
130
|
|
|
131
131
|
|
|
132
132
|
# License
|
|
@@ -104,7 +104,7 @@ MLatom also provides interfaces to some third-party software where extra ML mode
|
|
|
104
104
|
|
|
105
105
|
# About Program
|
|
106
106
|
MLatom: a Package for Atomistic Simulations with Machine Learning
|
|
107
|
-
Version 2.0
|
|
107
|
+
Version 2.0.1
|
|
108
108
|
http://mlatom.com/
|
|
109
109
|
|
|
110
110
|
Copyright (c) 2013-2021 Pavlo O. Dral
|
|
@@ -118,7 +118,7 @@ Cite as:
|
|
|
118
118
|
|
|
119
119
|
1. Pavlo O. Dral, J. Comput. Chem. 2019, 40, 2339-2347
|
|
120
120
|
2. Pavlo O. Dral, Fuchun Ge, Bao-Xin Xue, Yi-Fan Hou, Max Pinheiro Jr, Jianxing Huang, Mario Barbatti, Top. Curr. Chem. 2021, 379, 27
|
|
121
|
-
3. Pavlo O. Dral, Bao-Xin Xue, Fuchun Ge, Yi-Fan Hou, Max Pinheiro Jr, MLatom: A Package for Atomistic Simulations with Machine Learning, version 2.0, Xiamen University, Xiamen, China, 2013-2021.
|
|
121
|
+
3. Pavlo O. Dral, Bao-Xin Xue, Fuchun Ge, Yi-Fan Hou, Max Pinheiro Jr, MLatom: A Package for Atomistic Simulations with Machine Learning, version 2.0.1, Xiamen University, Xiamen, China, 2013-2021.
|
|
122
122
|
|
|
123
123
|
|
|
124
124
|
# License
|
|
@@ -43,7 +43,7 @@ with open(os.path.join(here, 'README.md')) as f:
|
|
|
43
43
|
|
|
44
44
|
setup(
|
|
45
45
|
name = pkg_name,
|
|
46
|
-
version = "2.0.
|
|
46
|
+
version = "2.0.1",
|
|
47
47
|
author = "Pavlo O. Dral",
|
|
48
48
|
author_email = "admin@mlatom.com",
|
|
49
49
|
license = 'CC BY-NC-ND 4.0', # https://creativecommons.org/licenses/by-nc-nd/4.0/
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
! Cite as: !
|
|
28
28
|
! Pavlo O. Dral, J. Comput. Chem. 2019, 40, 2339-2347 !
|
|
29
29
|
! Pavlo O. Dral, Fuchun Ge, Bao-Xin Xue, Yi-Fan Hou, Max Pinheiro Jr, !
|
|
30
|
-
! Jianxing Huang, Mario Barbatti,
|
|
30
|
+
! Jianxing Huang, Mario Barbatti, Top. Curr. Chem. 2021, 379, 27
|
|
31
31
|
! !
|
|
32
32
|
! Pavlo O. Dral, Bao-Xin Xue, Fuchun Ge, Yi-Fan Hou, Max Pinheiro Jr, !
|
|
33
33
|
! MLatom: A Package for Atomistic Simulations with Machine Learning !
|
|
@@ -358,6 +358,7 @@ class MLtasksCls(object):
|
|
|
358
358
|
def training(cls, locargs, setname=''):
|
|
359
359
|
if args.MLprog.lower() in cls.mlatom_alias:
|
|
360
360
|
mlatom_arg=addReplaceArg('estaccmlmodel','createmlmodel',locargs)
|
|
361
|
+
mlatom_arg=addReplaceArg('MLmodelOut','MLmodelOut=%s'%args.MLmodelOut, mlatom_arg)
|
|
361
362
|
|
|
362
363
|
if args.XfileIn:
|
|
363
364
|
mlatom_arg=addReplaceArg('XfileIn','XfileIn=%s'% os.path.relpath(args.absXfileIn) ,mlatom_arg)
|
|
@@ -368,7 +369,14 @@ class MLtasksCls(object):
|
|
|
368
369
|
if args.YgradXYZfile:
|
|
369
370
|
mlatom_arg=addReplaceArg('ygradxyzfile','ygradxyzfile=%s'% os.path.relpath(args.absYgradXYZfile),mlatom_arg)
|
|
370
371
|
|
|
371
|
-
|
|
372
|
+
idx_dict={
|
|
373
|
+
'train': args.itrainin,
|
|
374
|
+
'subtrain': args.isubtrainin,
|
|
375
|
+
'validate': args.ivalidatein,
|
|
376
|
+
'test': args.itestin
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
with open(cls.index_prefix+idx_dict[setname],'r')as f:
|
|
372
380
|
ntrain=0
|
|
373
381
|
for line in f:
|
|
374
382
|
ntrain+=1
|
|
@@ -377,7 +385,7 @@ class MLtasksCls(object):
|
|
|
377
385
|
mlatom_arg=addReplaceArg('Nvalidate','',mlatom_arg)
|
|
378
386
|
mlatom_arg=addReplaceArg('Nsubtrain','',mlatom_arg)
|
|
379
387
|
mlatom_arg=addReplaceArg('sampling','sampling=user-defined',mlatom_arg)
|
|
380
|
-
mlatom_arg=addReplaceArg('itrainin','itrainin
|
|
388
|
+
mlatom_arg=addReplaceArg('itrainin','itrainin='+cls.index_prefix+idx_dict[setname],mlatom_arg)
|
|
381
389
|
mlatom_arg=addReplaceArg('itestin','',mlatom_arg)
|
|
382
390
|
mlatom_arg=addReplaceArg('ivalidatein','',mlatom_arg)
|
|
383
391
|
mlatom_arg=addReplaceArg('isubtrainin','',mlatom_arg)
|
|
@@ -524,12 +532,21 @@ class MLtasksCls(object):
|
|
|
524
532
|
'validate':['subtrain','validate','subtrain'],
|
|
525
533
|
'test':['train','test','train']
|
|
526
534
|
}
|
|
527
|
-
|
|
535
|
+
|
|
536
|
+
idx_dict={
|
|
537
|
+
'train': args.itrainin,
|
|
538
|
+
'subtrain': args.isubtrainin,
|
|
539
|
+
'validate': args.ivalidatein,
|
|
540
|
+
'test': args.itestin
|
|
541
|
+
}
|
|
542
|
+
|
|
543
|
+
with open(cls.index_prefix+idx_dict[setdict[setname][0]],'r')as f:
|
|
528
544
|
ntrain=0
|
|
529
545
|
for line in f:
|
|
530
546
|
ntrain+=1
|
|
531
547
|
if setname=='train': ntrain=0
|
|
532
|
-
|
|
548
|
+
# MLatomF still check this number...
|
|
549
|
+
with open(cls.index_prefix+idx_dict[setname],'r')as f:
|
|
533
550
|
ntest=0
|
|
534
551
|
for line in f:
|
|
535
552
|
ntest+=1
|
|
@@ -538,8 +555,8 @@ class MLtasksCls(object):
|
|
|
538
555
|
useargs=addReplaceArg('Ntrain','Ntrain=%s'% ntrain ,useargs)
|
|
539
556
|
useargs=addReplaceArg('Ntest','Ntest=%s'%ntest,useargs)
|
|
540
557
|
useargs=addReplaceArg('sampling','sampling=user-defined',useargs)
|
|
541
|
-
useargs=addReplaceArg('itrainin','itrainin
|
|
542
|
-
useargs=addReplaceArg('itestin','itestin
|
|
558
|
+
useargs=addReplaceArg('itrainin','itrainin='+cls.index_prefix+idx_dict[setdict[setname][2]],useargs)
|
|
559
|
+
useargs=addReplaceArg('itestin','itestin='+cls.index_prefix+idx_dict[setname],useargs)
|
|
543
560
|
useargs=addReplaceArg('mlmodelin','mlmodelin=%s'%args.mlmodelout,useargs)
|
|
544
561
|
useargs=addReplaceArg('yestfile','',useargs)
|
|
545
562
|
useargs=addReplaceArg('ygradXYZestfile','',useargs)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: MLatom
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.1
|
|
4
4
|
Summary: A Package for Atomistic Simulations with Machine Learning
|
|
5
5
|
Home-page: http://mlatom.com
|
|
6
6
|
Author: Pavlo O. Dral
|
|
@@ -112,7 +112,7 @@ Description: # Brief Introduction
|
|
|
112
112
|
|
|
113
113
|
# About Program
|
|
114
114
|
MLatom: a Package for Atomistic Simulations with Machine Learning
|
|
115
|
-
Version 2.0
|
|
115
|
+
Version 2.0.1
|
|
116
116
|
http://mlatom.com/
|
|
117
117
|
|
|
118
118
|
Copyright (c) 2013-2021 Pavlo O. Dral
|
|
@@ -126,7 +126,7 @@ Description: # Brief Introduction
|
|
|
126
126
|
|
|
127
127
|
1. Pavlo O. Dral, J. Comput. Chem. 2019, 40, 2339-2347
|
|
128
128
|
2. Pavlo O. Dral, Fuchun Ge, Bao-Xin Xue, Yi-Fan Hou, Max Pinheiro Jr, Jianxing Huang, Mario Barbatti, Top. Curr. Chem. 2021, 379, 27
|
|
129
|
-
3. Pavlo O. Dral, Bao-Xin Xue, Fuchun Ge, Yi-Fan Hou, Max Pinheiro Jr, MLatom: A Package for Atomistic Simulations with Machine Learning, version 2.0, Xiamen University, Xiamen, China, 2013-2021.
|
|
129
|
+
3. Pavlo O. Dral, Bao-Xin Xue, Fuchun Ge, Yi-Fan Hou, Max Pinheiro Jr, MLatom: A Package for Atomistic Simulations with Machine Learning, version 2.0.1, Xiamen University, Xiamen, China, 2013-2021.
|
|
130
130
|
|
|
131
131
|
|
|
132
132
|
# License
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|