rdworks 0.45.2__py3-none-any.whl → 0.46.1__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.
- rdworks/__init__.py +1 -1
- rdworks/mol.py +4 -3
- {rdworks-0.45.2.dist-info → rdworks-0.46.1.dist-info}/METADATA +1 -1
- {rdworks-0.45.2.dist-info → rdworks-0.46.1.dist-info}/RECORD +7 -7
- {rdworks-0.45.2.dist-info → rdworks-0.46.1.dist-info}/WHEEL +0 -0
- {rdworks-0.45.2.dist-info → rdworks-0.46.1.dist-info}/licenses/LICENSE +0 -0
- {rdworks-0.45.2.dist-info → rdworks-0.46.1.dist-info}/top_level.txt +0 -0
rdworks/__init__.py
CHANGED
rdworks/mol.py
CHANGED
@@ -445,6 +445,7 @@ class Mol:
|
|
445
445
|
calculator: str | Callable = 'MMFF94',
|
446
446
|
fmax: float = 0.05,
|
447
447
|
max_iter: int = 1000,
|
448
|
+
**kwargs
|
448
449
|
) -> Self:
|
449
450
|
"""Optimizes 3D geometry of conformers.
|
450
451
|
|
@@ -469,12 +470,12 @@ class Mol:
|
|
469
470
|
Returns:
|
470
471
|
Self: modified self.
|
471
472
|
"""
|
472
|
-
self.confs = [ conf.optimize(calculator, fmax, max_iter) for conf in self.confs ]
|
473
|
+
self.confs = [ conf.optimize(calculator, fmax, max_iter, **kwargs) for conf in self.confs ]
|
473
474
|
|
474
475
|
return self
|
475
476
|
|
476
477
|
|
477
|
-
def sort_confs(self, calculator: str | Callable | None = None) -> Self:
|
478
|
+
def sort_confs(self, calculator: str | Callable | None = None, **kwargs) -> Self:
|
478
479
|
"""Sorts by `E_tot(kcal/mol)` or `E_tot(eV)` and sets `E_rel(kcal/mol)`.
|
479
480
|
|
480
481
|
Args:
|
@@ -501,7 +502,7 @@ class Mol:
|
|
501
502
|
if calculator is not None:
|
502
503
|
# re-calculate potential energies
|
503
504
|
for conf in self.confs:
|
504
|
-
PE = conf.potential_energy(calculator=calculator) # sets `E_tot(kcal/mol)`
|
505
|
+
PE = conf.potential_energy(calculator=calculator, **kwargs) # sets `E_tot(kcal/mol)`
|
505
506
|
|
506
507
|
if all(['E_tot(kcal/mol)' in conf.props for conf in self.confs]):
|
507
508
|
sort_by = 'E_tot(kcal/mol)'
|
@@ -1,10 +1,10 @@
|
|
1
|
-
rdworks/__init__.py,sha256=
|
1
|
+
rdworks/__init__.py,sha256=7XXFLbhQnYgT28SFGHOyEYq-nMnUQGq-ZHWrwI7NA20,1368
|
2
2
|
rdworks/conf.py,sha256=iQLb3Qg3pjGiiMVMJ5-d57BC1id3zxEhEGlhhrLrA_c,34162
|
3
3
|
rdworks/descriptor.py,sha256=34T_dQ6g8v3u-ym8TLKbQtxIIV5TEo-d3pdedq3o-cg,2106
|
4
4
|
rdworks/display.py,sha256=JR0gR26UpH-JCxVOaqXZCUj2MiGZSrx9Me87FncspVI,13469
|
5
5
|
rdworks/ionized.py,sha256=5oIjMRpkX792RIpEEE2Ir96icfFaN_h21mSihhfQPAw,6713
|
6
6
|
rdworks/matchedseries.py,sha256=A3ON4CUpQV159mu9VqgNiJ8uoQ9ePOry9d3ra4NCAgc,10377
|
7
|
-
rdworks/mol.py,sha256=
|
7
|
+
rdworks/mol.py,sha256=e62DYV8XeqLL1mBydbS881pSUfJjaeHxalG64CIant8,68133
|
8
8
|
rdworks/mollibr.py,sha256=X4UBO6Ga-QmNS7RwUiaDYAx0Q5hnWs71yTkEpH02Qb4,37696
|
9
9
|
rdworks/pka.py,sha256=NVJVfpcNEMlX5QRyLBgUM7GIT7VMjO-llAR4LWc8J2c,1656
|
10
10
|
rdworks/readin.py,sha256=0bnVcZcAmSLqc6zu1mYcv0LdBv2agQfOpKGwpSRL9VE,11742
|
@@ -66,8 +66,8 @@ rdworks/predefined/misc/reactive-part-3.xml,sha256=LgWHSEbRTVmgBoIO45xbTo1xQJs0X
|
|
66
66
|
rdworks/predefined/misc/reactive.xml,sha256=syedoQ6VYUfRLnxy99ObuDniJ_a_WhrWAJbTKFfJ6VY,11248
|
67
67
|
rdworks/xtb/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
68
68
|
rdworks/xtb/wrapper.py,sha256=GqcseDk_sgmKbmKvDvObjNTk0tvAWYd7ZxjnLq0uVK0,21596
|
69
|
-
rdworks-0.
|
70
|
-
rdworks-0.
|
71
|
-
rdworks-0.
|
72
|
-
rdworks-0.
|
73
|
-
rdworks-0.
|
69
|
+
rdworks-0.46.1.dist-info/licenses/LICENSE,sha256=UOkJSBqYyQUvtCp7a-vdCANeEcLE2dnTie_eB1By5SY,1074
|
70
|
+
rdworks-0.46.1.dist-info/METADATA,sha256=W_HHV2S8tUb7qxhAuZ1v4LNrzGzLzjeXNyurik9DkcY,1967
|
71
|
+
rdworks-0.46.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
72
|
+
rdworks-0.46.1.dist-info/top_level.txt,sha256=05C98HbvBK2axUBogC_hAT_CdpOeQYGnQ6vRAgawr8s,8
|
73
|
+
rdworks-0.46.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|