HTPolyNet 2.11.4__py3-none-any.whl → 2.11.5__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.
- htpolynet/cure/ringcontroller.py +15 -0
- {htpolynet-2.11.4.dist-info → htpolynet-2.11.5.dist-info}/METADATA +1 -1
- {htpolynet-2.11.4.dist-info → htpolynet-2.11.5.dist-info}/RECORD +6 -6
- {htpolynet-2.11.4.dist-info → htpolynet-2.11.5.dist-info}/WHEEL +0 -0
- {htpolynet-2.11.4.dist-info → htpolynet-2.11.5.dist-info}/entry_points.txt +0 -0
- {htpolynet-2.11.4.dist-info → htpolynet-2.11.5.dist-info}/licenses/LICENSE +0 -0
htpolynet/cure/ringcontroller.py
CHANGED
|
@@ -423,6 +423,12 @@ class RingController:
|
|
|
423
423
|
def relax(self, TC, gromacs_dict=None):
|
|
424
424
|
"""Eases a freshly closed ring's bonds in, and lets the box respond.
|
|
425
425
|
|
|
426
|
+
Writes the topology first, as every stage here must: Gromacs reads it from disk,
|
|
427
|
+
and :meth:`form_rings` changes it only in memory. Until 2.11.5 this stage and
|
|
428
|
+
:meth:`equilibrate` both ran against whatever :meth:`close_rings` last wrote --
|
|
429
|
+
the ladder topology, with its restraints still loaded and the ring bonds not yet
|
|
430
|
+
formed.
|
|
431
|
+
|
|
426
432
|
A ring bond is formed at whatever length the closure ladder reached, a good way
|
|
427
433
|
short of the 1.34 A it wants, so the system is strained the moment the bonds
|
|
428
434
|
exist. CURE relaxes its new bonds for the same reason; without it here, the
|
|
@@ -449,6 +455,11 @@ class RingController:
|
|
|
449
455
|
TC (TopoCoord): the system
|
|
450
456
|
gromacs_dict (dict): gromacs directives
|
|
451
457
|
"""
|
|
458
|
+
# form_rings changed the topology in memory and wrote nothing, so without this
|
|
459
|
+
# the run grompps against the last file on disk -- the ladder topology, whose
|
|
460
|
+
# restraints are still in place and whose ring bonds do not exist yet
|
|
461
|
+
TC.write_top(f'ringrelax-{self.state.iter}.top')
|
|
462
|
+
TC.write_gro(f'ringrelax-{self.state.iter}.gro')
|
|
452
463
|
self._run_stages(TC, f'ringrelax-{self.state.iter}', self.dicts['relax'],
|
|
453
464
|
gromacs_dict or {})
|
|
454
465
|
logger.info(f'Iteration {self.state.iter}: new ring bonds relaxed')
|
|
@@ -494,6 +505,10 @@ class RingController:
|
|
|
494
505
|
d = self.dicts['equilibrate']
|
|
495
506
|
if not d:
|
|
496
507
|
return []
|
|
508
|
+
# as in relax: grompp reads the topology from disk, so it has to be the one
|
|
509
|
+
# with the rings bonded and the restraints gone
|
|
510
|
+
TC.write_top(f'ringequil-{self.state.iter}.top')
|
|
511
|
+
TC.write_gro(f'ringequil-{self.state.iter}.gro')
|
|
497
512
|
edr_list = TC.equilibrate(deffnm=f'ringequil-{self.state.iter}', edict=d,
|
|
498
513
|
gromacs_dict=gromacs_dict or {}) or []
|
|
499
514
|
if d.get('ensemble') == 'npt' and edr_list:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: htpolynet
|
|
3
|
-
Version: 2.11.
|
|
3
|
+
Version: 2.11.5
|
|
4
4
|
Summary: Automated MD System Builder for Amorphous Network Polymers
|
|
5
5
|
Project-URL: Source, https://github.com/cameronabrams/htpolynet
|
|
6
6
|
Project-URL: Documentation, https://htpolynet.readthedocs.io/
|
|
@@ -21,7 +21,7 @@ htpolynet/cure/chain.py,sha256=-d5BFE5xUKjFdNkxLfSnCnZIRSJCtr7xuxYzNHBeSgU,5344
|
|
|
21
21
|
htpolynet/cure/curecontroller.py,sha256=eTJc1JqrD7w6XLg4pL5ACHXo5N1oJ6P5pVdzMONxiBU,59756
|
|
22
22
|
htpolynet/cure/expandreactions.py,sha256=eN35-SQrzjoo8ftZVLJkiAKxpA_FigERTwZ8jtoxDng,20682
|
|
23
23
|
htpolynet/cure/reaction.py,sha256=_kRJ1JzT_fjLIAF6j9lH_Sft41KD1kVQuWPmXdHia-M,13446
|
|
24
|
-
htpolynet/cure/ringcontroller.py,sha256
|
|
24
|
+
htpolynet/cure/ringcontroller.py,sha256=1OASSSpRRjVCNK3hvVCm7GsZ0EODwiNK10eppUvROLM,32253
|
|
25
25
|
htpolynet/cure/triplesearch.py,sha256=3i0MBDa1ExFt0zhjvDUQk9GNxrjGwWAiWQAmFDYBWmE,16046
|
|
26
26
|
htpolynet/external/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
27
27
|
htpolynet/external/ambertools.py,sha256=NkZ0fP6iqwMnMk2jMD3-EaiGCmutHb1MVFOTFJiQ7WI,6286
|
|
@@ -103,8 +103,8 @@ htpolynet/utils/logsetup.py,sha256=o0mlVXNzqcfua2SAlJPkGSh4lM_bmI10gWwpb9gqYu8,1
|
|
|
103
103
|
htpolynet/utils/profiling.py,sha256=su7qpGEz6FXVU4KT2HQDWG82bc1sgsfpDQBbAfPpsHc,7331
|
|
104
104
|
htpolynet/utils/stringthings.py,sha256=Mr6o55EM8o4YAaVYpjIJj2IxDToNdbPzb-lpQ3w3jFk,1176
|
|
105
105
|
htpolynet/utils/vmd_viz.py,sha256=Crk3Ln88PKiJ9X7DMMkFEVh2Ru6a1y0RUgj3w6EIgFc,10867
|
|
106
|
-
htpolynet-2.11.
|
|
107
|
-
htpolynet-2.11.
|
|
108
|
-
htpolynet-2.11.
|
|
109
|
-
htpolynet-2.11.
|
|
110
|
-
htpolynet-2.11.
|
|
106
|
+
htpolynet-2.11.5.dist-info/METADATA,sha256=eIgJRsV0MJnWZ8Mtwu923mPvlXJCQRiAUN7EmmA19g0,6589
|
|
107
|
+
htpolynet-2.11.5.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
|
|
108
|
+
htpolynet-2.11.5.dist-info/entry_points.txt,sha256=G5tx55llJf-IV9dIe7J8myGdyrhCVggCAhKrVNGP_s0,48
|
|
109
|
+
htpolynet-2.11.5.dist-info/licenses/LICENSE,sha256=piPSGqJdmTGyzF9HOnjlO2KvgOKT8NHwhCuGYM778tY,1071
|
|
110
|
+
htpolynet-2.11.5.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|