HTPolyNet 2.5.0__py3-none-any.whl → 2.6.0__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/core/runtime.py +9 -0
- htpolynet/cure/curecontroller.py +47 -0
- htpolynet/repair/cyanate_cap.py +191 -28
- {htpolynet-2.5.0.dist-info → htpolynet-2.6.0.dist-info}/METADATA +1 -1
- {htpolynet-2.5.0.dist-info → htpolynet-2.6.0.dist-info}/RECORD +8 -8
- {htpolynet-2.5.0.dist-info → htpolynet-2.6.0.dist-info}/WHEEL +0 -0
- {htpolynet-2.5.0.dist-info → htpolynet-2.6.0.dist-info}/entry_points.txt +0 -0
- {htpolynet-2.5.0.dist-info → htpolynet-2.6.0.dist-info}/licenses/LICENSE +0 -0
htpolynet/core/runtime.py
CHANGED
|
@@ -523,6 +523,15 @@ class Runtime:
|
|
|
523
523
|
if bond_conversion is not None:
|
|
524
524
|
msg += f'; the cure reported a bond conversion of {bond_conversion:.3f}'
|
|
525
525
|
my_logger(msg, logger.info)
|
|
526
|
+
# the transfer count is what predicts whether this stage survives,
|
|
527
|
+
# so it belongs next to the conversion rather than mid-log
|
|
528
|
+
if st.get('n_transferred'):
|
|
529
|
+
tmsg = f'Repair transferred {st["n_transferred"]} cap fragments'
|
|
530
|
+
if st.get('min_clearance_nm') is not None:
|
|
531
|
+
tmsg += f'; tightest placement {st["min_clearance_nm"]:.3f} nm'
|
|
532
|
+
if st.get('n_below_target'):
|
|
533
|
+
tmsg += f'; {st["n_below_target"]} below the clearance target'
|
|
534
|
+
my_logger(tmsg, logger.info)
|
|
526
535
|
try:
|
|
527
536
|
with open('repair-summary.yaml', 'w') as f:
|
|
528
537
|
yaml.dump(record, f, default_flow_style=False)
|
htpolynet/cure/curecontroller.py
CHANGED
|
@@ -38,6 +38,22 @@ def residue_reaction_counts(adf):
|
|
|
38
38
|
"""
|
|
39
39
|
return adf.groupby('resNum')['nreactions'].sum()
|
|
40
40
|
|
|
41
|
+
def residue_functionality(adf):
|
|
42
|
+
"""Counts, per residue, how many reactive sites it started with.
|
|
43
|
+
|
|
44
|
+
Forming a bond decrements an atom's 'z' and increments its 'nreactions' in
|
|
45
|
+
the same operation, so their sum is conserved per atom for the whole cure.
|
|
46
|
+
Summed over a residue it is that residue's initial functionality, and it
|
|
47
|
+
reads the same at iteration 0 as at the end.
|
|
48
|
+
|
|
49
|
+
Args:
|
|
50
|
+
adf (pandas.DataFrame): the global atom dataframe; must carry the 'resNum', 'z' and 'nreactions' attributes
|
|
51
|
+
|
|
52
|
+
Returns:
|
|
53
|
+
pandas.Series: initial reactive sites, indexed by residue number
|
|
54
|
+
"""
|
|
55
|
+
return adf.groupby('resNum')[['z','nreactions']].sum().sum(axis=1)
|
|
56
|
+
|
|
41
57
|
def rank_bond_candidates(bdf,reaction_counts=None):
|
|
42
58
|
"""Orders bond candidates ahead of the greedy one-bond-per-residue downselection.
|
|
43
59
|
|
|
@@ -212,6 +228,9 @@ class CureController:
|
|
|
212
228
|
self.dicts[k][kk]=vv
|
|
213
229
|
|
|
214
230
|
self.chain_manager=None
|
|
231
|
+
# once-per-run: has the completion bias been checked against which side
|
|
232
|
+
# of the reaction actually carries the more functional residue?
|
|
233
|
+
self.bias_side_checked=False
|
|
215
234
|
self.dragging_enabled=False
|
|
216
235
|
d=self.dicts['drag']
|
|
217
236
|
if (d['nstages']>0 or d['increment']>0.0) and d['limit']>0.0:
|
|
@@ -636,6 +655,33 @@ class CureController:
|
|
|
636
655
|
return None
|
|
637
656
|
return residue_reaction_counts(adf)
|
|
638
657
|
|
|
658
|
+
def _check_bias_side(self,adf,bdf):
|
|
659
|
+
"""Warns, once per run, if the completion bias is ranking the less functional side.
|
|
660
|
+
|
|
661
|
+
The bias ranks on the ``B`` reactant because htpolynet's A2+B3 idiom
|
|
662
|
+
puts the crosslinker there. Declare the crosslinker as ``A`` instead
|
|
663
|
+
and the bias silently starts completing the *bridges*, which is a
|
|
664
|
+
different claim about which species is a reactive intermediate and
|
|
665
|
+
almost certainly not the one that was wanted. It cannot be caught by
|
|
666
|
+
looking for an all-zero bias key -- a difunctional bridge accumulates
|
|
667
|
+
reactions perfectly well, so the key is non-zero and the ranking looks
|
|
668
|
+
healthy. What distinguishes the two cases is which side is the more
|
|
669
|
+
functional one, and that is fixed at setup.
|
|
670
|
+
|
|
671
|
+
Args:
|
|
672
|
+
adf (pandas.DataFrame): the global atom dataframe
|
|
673
|
+
bdf (pandas.DataFrame): the bond candidates for this iteration
|
|
674
|
+
"""
|
|
675
|
+
if self.bias_side_checked: return
|
|
676
|
+
if not all(c in adf.columns for c in ('z','nreactions')): return
|
|
677
|
+
self.bias_side_checked=True
|
|
678
|
+
func=residue_functionality(adf)
|
|
679
|
+
a=bdf['ri'].map(func).dropna()
|
|
680
|
+
b=bdf['rj'].map(func).dropna()
|
|
681
|
+
if a.empty or b.empty: return
|
|
682
|
+
if a.max()>b.max():
|
|
683
|
+
logger.warning(f'completion_bias ranks candidates on the B-side residue, but the A side is the more functional one here ({int(a.max())} reactive sites vs {int(b.max())}). The bias will complete B-side residues, which is probably not what was intended; declare the crosslinker as the second reactant to bias toward it.')
|
|
684
|
+
|
|
639
685
|
# TODO: move to searchbonds.by; split into make_candidates() and apply_filters()
|
|
640
686
|
def _searchbonds(self,TC:TopoCoord,RL:ReactionList,MD:MoleculeDict,stage=reaction_stage.cure,abs_max=0,apply_probabilities=False,reentry=False):
|
|
641
687
|
"""Manages the search for bonds.
|
|
@@ -749,6 +795,7 @@ class CureController:
|
|
|
749
795
|
reaction_counts=self._completion_bias_counts(adf)
|
|
750
796
|
bdf=rank_bond_candidates(bdf,reaction_counts)
|
|
751
797
|
if reaction_counts is not None:
|
|
798
|
+
self._check_bias_side(adf,bdf)
|
|
752
799
|
nrx=bdf['rj'].map(reaction_counts).fillna(0).astype(int)
|
|
753
800
|
logger.debug(f'Completion bias: {int((nrx>0).sum())} of {bdf.shape[0]} candidates extend an already-reacted B-side residue (most bonds already carried: {int(nrx.max())})')
|
|
754
801
|
bdf['allowed']=[True for x in range(bdf.shape[0])]
|
htpolynet/repair/cyanate_cap.py
CHANGED
|
@@ -106,6 +106,10 @@ def _place_cyn_along(bpa_o_xyz, bpa_o_h_xyz, oc_len=0.136, cn_len=0.116):
|
|
|
106
106
|
direction from BPA-O toward the (about-to-be-deleted) H, so the new
|
|
107
107
|
cap sticks out along the original O-H bond.
|
|
108
108
|
|
|
109
|
+
This is the unconditioned placement: it is where the cap goes if that
|
|
110
|
+
direction happens to be empty, and it is blind to whether it is. See
|
|
111
|
+
:func:`_choose_cap_placement`, which uses it as its first candidate.
|
|
112
|
+
|
|
109
113
|
Lengths in nm: standard -O-C ester ~1.36 A, -C#N ~1.16 A.
|
|
110
114
|
Returns (C_xyz, N_xyz).
|
|
111
115
|
"""
|
|
@@ -122,12 +126,140 @@ def _place_cyn_along(bpa_o_xyz, bpa_o_h_xyz, oc_len=0.136, cn_len=0.116):
|
|
|
122
126
|
return c_xyz, n_xyz
|
|
123
127
|
|
|
124
128
|
|
|
129
|
+
_PLACEMENT_LOCALITY = 0.8
|
|
130
|
+
"""nm: an atom farther than this from the target oxygen cannot constrain a cap
|
|
131
|
+
that reaches only ~0.25 nm from it, so it is not scored against."""
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
def _report_placements(placements, target):
|
|
135
|
+
"""Say how well the transferred caps landed, and complain about the tight ones.
|
|
136
|
+
|
|
137
|
+
The transfer count is the quantity that predicts whether this stage will
|
|
138
|
+
survive, so it is stated plainly rather than left to be inferred, and a
|
|
139
|
+
placement that could not reach the target clearance is named while it is
|
|
140
|
+
still cheap to act on -- the alternative is reading it back out of a
|
|
141
|
+
Lennard-Jones term at step 0.
|
|
142
|
+
|
|
143
|
+
Args:
|
|
144
|
+
placements (list): one dict per transferred cap, with 'o' and 'clearance'
|
|
145
|
+
target (float): the clearance in nm that was being aimed for
|
|
146
|
+
|
|
147
|
+
Returns:
|
|
148
|
+
dict: n_transferred, n_direction_searched, n_below_target, min_clearance_nm
|
|
149
|
+
"""
|
|
150
|
+
if not placements:
|
|
151
|
+
return {'n_transferred': 0, 'n_direction_searched': 0,
|
|
152
|
+
'n_below_target': 0, 'min_clearance_nm': None}
|
|
153
|
+
gaps = np.array([p['clearance'] for p in placements], dtype=float)
|
|
154
|
+
searched = sum(1 for p in placements if not p['kept_o_h_direction'])
|
|
155
|
+
below = [p for p in placements if p['clearance'] < target]
|
|
156
|
+
logger.info(
|
|
157
|
+
f'triazine_to_cyanate_cap: placed {len(placements)} transferred caps '
|
|
158
|
+
f'({searched} needed a direction search); clearance min/median '
|
|
159
|
+
f'{gaps.min():.3f}/{float(np.median(gaps)):.3f} nm against a target of {target:.3f}'
|
|
160
|
+
)
|
|
161
|
+
if below:
|
|
162
|
+
worst = sorted(below, key=lambda p: p['clearance'])[:5]
|
|
163
|
+
detail = ', '.join(f'O {int(p["o"])} at {p["clearance"]:.3f} nm' for p in worst)
|
|
164
|
+
logger.warning(
|
|
165
|
+
f'triazine_to_cyanate_cap: {len(below)} of {len(placements)} transferred '
|
|
166
|
+
f'caps could not reach {target:.3f} nm of clearance in any direction '
|
|
167
|
+
f'(worst: {detail}). The box is too crowded here for this many caps; '
|
|
168
|
+
f'if the following minimization fails with a huge Lennard-Jones term, '
|
|
169
|
+
f'this is why.'
|
|
170
|
+
)
|
|
171
|
+
return {
|
|
172
|
+
'n_transferred': len(placements),
|
|
173
|
+
'n_direction_searched': searched,
|
|
174
|
+
'n_below_target': len(below),
|
|
175
|
+
'min_clearance_nm': float(gaps.min()),
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
def _sphere_directions(n=48):
|
|
180
|
+
"""``n`` roughly uniform unit vectors on the sphere, deterministically.
|
|
181
|
+
|
|
182
|
+
A Fibonacci spiral: no randomness, so a rebuild of the same system places
|
|
183
|
+
its caps identically.
|
|
184
|
+
|
|
185
|
+
Args:
|
|
186
|
+
n (int): how many directions to generate
|
|
187
|
+
|
|
188
|
+
Returns:
|
|
189
|
+
numpy.ndarray: (n, 3) array of unit vectors
|
|
190
|
+
"""
|
|
191
|
+
k = np.arange(n) + 0.5
|
|
192
|
+
phi = np.arccos(1.0 - 2.0 * k / n)
|
|
193
|
+
theta = np.pi * (1.0 + 5.0 ** 0.5) * k
|
|
194
|
+
return np.stack([np.cos(theta) * np.sin(phi),
|
|
195
|
+
np.sin(theta) * np.sin(phi),
|
|
196
|
+
np.cos(phi)], axis=1)
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
def _clearance(c_xyz, n_xyz, neighbors, box):
|
|
200
|
+
"""Smallest distance from either cap atom to any neighbouring atom.
|
|
201
|
+
|
|
202
|
+
Args:
|
|
203
|
+
c_xyz (numpy.ndarray): position of the cap carbon
|
|
204
|
+
n_xyz (numpy.ndarray): position of the cap nitrogen
|
|
205
|
+
neighbors (numpy.ndarray): (m, 3) positions to stay clear of
|
|
206
|
+
box (numpy.ndarray): orthorhombic box lengths, for minimum image
|
|
207
|
+
|
|
208
|
+
Returns:
|
|
209
|
+
float: the smallest such distance in nm, or inf if there are no neighbours
|
|
210
|
+
"""
|
|
211
|
+
if neighbors is None or len(neighbors) == 0:
|
|
212
|
+
return float('inf')
|
|
213
|
+
return float(min(_min_image_dist(c_xyz, neighbors, box).min(),
|
|
214
|
+
_min_image_dist(n_xyz, neighbors, box).min()))
|
|
215
|
+
|
|
216
|
+
|
|
217
|
+
def _choose_cap_placement(o_xyz, ref_xyz, neighbors, box, oc_len=0.136,
|
|
218
|
+
cn_len=0.116, target=0.15, n_directions=48):
|
|
219
|
+
"""Place a transferred -C#N group in the clearest direction available.
|
|
220
|
+
|
|
221
|
+
The old O-H vector is tried first and kept if it is clear enough, so a
|
|
222
|
+
cap in open space lands exactly where it always did. Only when that
|
|
223
|
+
direction is occupied does this search the sphere -- which is the case
|
|
224
|
+
that used to produce a step-0 Lennard-Jones term around 1e15 and a
|
|
225
|
+
minimization that could not recover. Bond lengths are held fixed; only
|
|
226
|
+
the direction moves, so the chemistry is unchanged.
|
|
227
|
+
|
|
228
|
+
Args:
|
|
229
|
+
o_xyz (numpy.ndarray): position of the bridge oxygen the cap attaches to
|
|
230
|
+
ref_xyz (numpy.ndarray): position defining the preferred direction, normally the O's about-to-be-deleted H
|
|
231
|
+
neighbors (numpy.ndarray): (m, 3) positions the cap must avoid
|
|
232
|
+
box (numpy.ndarray): orthorhombic box lengths, for minimum image
|
|
233
|
+
oc_len (float): O-C bond length in nm
|
|
234
|
+
cn_len (float): C#N bond length in nm
|
|
235
|
+
target (float): clearance in nm that counts as good enough to stop searching; the default 0.15 is about what a steepest-descent minimization absorbs without trouble, and is achievable in a box at polymer density -- 0.22 is not, and asking for it would flag every cap
|
|
236
|
+
n_directions (int): how many directions to try when the preferred one is occupied
|
|
237
|
+
|
|
238
|
+
Returns:
|
|
239
|
+
tuple: (C position, N position, achieved clearance in nm, whether the preferred direction was kept)
|
|
240
|
+
"""
|
|
241
|
+
o = np.asarray(o_xyz, dtype=float)
|
|
242
|
+
c_xyz, n_xyz = _place_cyn_along(o, ref_xyz, oc_len=oc_len, cn_len=cn_len)
|
|
243
|
+
best = _clearance(c_xyz, n_xyz, neighbors, box)
|
|
244
|
+
if best >= target:
|
|
245
|
+
return c_xyz, n_xyz, best, True
|
|
246
|
+
for u in _sphere_directions(n_directions):
|
|
247
|
+
cc = o + u * oc_len
|
|
248
|
+
nn = cc + u * cn_len
|
|
249
|
+
gap = _clearance(cc, nn, neighbors, box)
|
|
250
|
+
if gap > best:
|
|
251
|
+
best, c_xyz, n_xyz = gap, cc, nn
|
|
252
|
+
if best >= target:
|
|
253
|
+
break
|
|
254
|
+
return c_xyz, n_xyz, best, False
|
|
255
|
+
|
|
256
|
+
|
|
125
257
|
# ---------------------------------------------------------------------------
|
|
126
258
|
# Main driver
|
|
127
259
|
# ---------------------------------------------------------------------------
|
|
128
260
|
|
|
129
261
|
|
|
130
|
-
def _completion_stats(residue_name, n_crosslinkers, n_incomplete, log=True):
|
|
262
|
+
def _completion_stats(residue_name, n_crosslinkers, n_incomplete, log=True, placement=None):
|
|
131
263
|
"""Summarize crosslinker completion and log it.
|
|
132
264
|
|
|
133
265
|
A crosslinker survives this repair only if every one of its sites is
|
|
@@ -142,6 +274,7 @@ def _completion_stats(residue_name, n_crosslinkers, n_incomplete, log=True):
|
|
|
142
274
|
n_crosslinkers (int): number of crosslinker residues in the system
|
|
143
275
|
n_incomplete (int): how many of them are being dismantled
|
|
144
276
|
log (bool): emit the summary message; False when there is nothing to summarize
|
|
277
|
+
placement (dict): cap-placement summary from :func:`_report_placements`, merged into the result
|
|
145
278
|
|
|
146
279
|
Returns:
|
|
147
280
|
dict: n_crosslinkers, n_complete, n_dismantled, crosslinker_conversion
|
|
@@ -154,13 +287,16 @@ def _completion_stats(residue_name, n_crosslinkers, n_incomplete, log=True):
|
|
|
154
287
|
f'{residue_name} residues are complete and survive repair; '
|
|
155
288
|
f'crosslinker conversion {chi:.3f}'
|
|
156
289
|
)
|
|
157
|
-
|
|
290
|
+
out = {
|
|
158
291
|
'residue': residue_name,
|
|
159
292
|
'n_crosslinkers': n_crosslinkers,
|
|
160
293
|
'n_complete': n_complete,
|
|
161
294
|
'n_dismantled': n_incomplete,
|
|
162
295
|
'crosslinker_conversion': chi,
|
|
163
296
|
}
|
|
297
|
+
if placement:
|
|
298
|
+
out.update(placement)
|
|
299
|
+
return out
|
|
164
300
|
|
|
165
301
|
|
|
166
302
|
def triazine_to_cyanate_cap(TC, moldict, spec, reactions):
|
|
@@ -287,34 +423,60 @@ def triazine_to_cyanate_cap(TC, moldict, spec, reactions):
|
|
|
287
423
|
ts.reassign_residue(TC, [cap['c'], cap['n']], cap_residue_name, new_resnum)
|
|
288
424
|
ts.set_atom_attributes(TC, cap['c'], atomName='C1')
|
|
289
425
|
ts.set_atom_attributes(TC, cap['n'], atomName='N1')
|
|
290
|
-
cap_records.append({'c': cap['c'], 'n': cap['n'], 'o': target_o,
|
|
426
|
+
cap_records.append({'c': cap['c'], 'n': cap['n'], 'o': target_o,
|
|
427
|
+
'resnum': new_resnum, 'free': cap['bonded_o'] is None})
|
|
291
428
|
new_resnum += 1
|
|
292
429
|
|
|
293
430
|
# 3d. for free-cap donations: relocate the CYN atoms next to their target O
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
431
|
+
#
|
|
432
|
+
# This is the phase that fails catastrophically when it fails at all. A
|
|
433
|
+
# cap dropped blindly along the old O-H vector can land on top of a
|
|
434
|
+
# neighbour, and the resulting step-0 Lennard-Jones term -- of order 1e15
|
|
435
|
+
# kJ/mol -- is not something the following minimization recovers from.
|
|
436
|
+
# The count of caps to place here is an identity, (total reactive sites -
|
|
437
|
+
# bonds formed), so it rises as conversion falls: a low-conversion build
|
|
438
|
+
# places hundreds and is where this has been seen to kill runs.
|
|
439
|
+
#
|
|
440
|
+
# So each cap is placed against its local neighbourhood, and every cap
|
|
441
|
+
# already placed is part of the neighbourhood the next one sees.
|
|
442
|
+
free_records = [rec for rec in cap_records if rec['free']]
|
|
443
|
+
placements = []
|
|
444
|
+
placement_summary = None
|
|
445
|
+
if free_records:
|
|
446
|
+
box = TC.Coordinates.box.diagonal()
|
|
447
|
+
target_clearance = float(spec.get('cap_min_clearance', 0.15))
|
|
448
|
+
# the O's H is consumed in forming the cap; collect them all up front
|
|
449
|
+
# so that a cap placed early does not dodge an atom about to vanish
|
|
450
|
+
for rec in free_records:
|
|
451
|
+
h = _find_bonded_hydrogen(TC, rec['o'])
|
|
452
|
+
rec['o_h'] = h
|
|
453
|
+
if h is not None:
|
|
454
|
+
h_to_delete.add(int(h))
|
|
455
|
+
moving = {int(rec['c']) for rec in free_records} | {int(rec['n']) for rec in free_records}
|
|
456
|
+
A = TC.Coordinates.A
|
|
457
|
+
going = moving | {int(x) for x in h_to_delete}
|
|
458
|
+
background = A.loc[~A['globalIdx'].isin(going),
|
|
459
|
+
['posX', 'posY', 'posZ']].to_numpy(dtype=float)
|
|
460
|
+
for rec in free_records:
|
|
461
|
+
o_xyz = ts.positions(TC, [rec['o']])[0]
|
|
462
|
+
if rec['o_h'] is None:
|
|
463
|
+
# no H to take a direction from (shouldn't happen for a
|
|
464
|
+
# still-reactive O); any direction will do as a starting guess
|
|
465
|
+
ref_xyz = o_xyz + np.array([1.0, 0.0, 0.0])
|
|
466
|
+
else:
|
|
467
|
+
ref_xyz = ts.positions(TC, [rec['o_h']])[0]
|
|
468
|
+
# only atoms near this O can constrain a group that reaches
|
|
469
|
+
# 0.25 nm from it; the rest are not worth scoring against
|
|
470
|
+
local = background[_min_image_dist(o_xyz, background, box) < _PLACEMENT_LOCALITY]
|
|
471
|
+
c_xyz, n_xyz, gap, kept = _choose_cap_placement(
|
|
472
|
+
o_xyz, ref_xyz, local, box, target=target_clearance)
|
|
473
|
+
ts.set_atom_attributes(TC, rec['c'],
|
|
474
|
+
posX=float(c_xyz[0]), posY=float(c_xyz[1]), posZ=float(c_xyz[2]))
|
|
475
|
+
ts.set_atom_attributes(TC, rec['n'],
|
|
476
|
+
posX=float(n_xyz[0]), posY=float(n_xyz[1]), posZ=float(n_xyz[2]))
|
|
477
|
+
background = np.vstack([background, c_xyz, n_xyz])
|
|
478
|
+
placements.append({'o': rec['o'], 'clearance': gap, 'kept_o_h_direction': kept})
|
|
479
|
+
placement_summary = _report_placements(placements, target_clearance)
|
|
318
480
|
|
|
319
481
|
# ---- Phase 4: splice template params (forms BPA-O-C bond with full
|
|
320
482
|
# angle/dihedral/pair entries from the cap_template molecule) ----
|
|
@@ -362,7 +524,8 @@ def triazine_to_cyanate_cap(TC, moldict, spec, reactions):
|
|
|
362
524
|
msg='triazine_to_cyanate_cap post-deletion rebalance',
|
|
363
525
|
)
|
|
364
526
|
|
|
365
|
-
return _completion_stats(cl['residue'], len(cl_residues), len(incomplete_plans)
|
|
527
|
+
return _completion_stats(cl['residue'], len(cl_residues), len(incomplete_plans),
|
|
528
|
+
placement=placement_summary)
|
|
366
529
|
|
|
367
530
|
|
|
368
531
|
# ---------------------------------------------------------------------------
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: htpolynet
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.6.0
|
|
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/
|
|
@@ -12,12 +12,12 @@ htpolynet/core/coordinates.py,sha256=CGTHkdfw2ikc2ANacA5akRhZ9tOyM2IbELwQ2FVcKRw
|
|
|
12
12
|
htpolynet/core/molecule.py,sha256=xUA52zkRMyAFCE8LbXvXghweDCPkrgD4rx1mcimddn0,52751
|
|
13
13
|
htpolynet/core/paramcache.py,sha256=3MTG96F4vtT5w-pn1RWNmXic0QKB7WVcwCrD-BSY3B0,4508
|
|
14
14
|
htpolynet/core/projectfilesystem.py,sha256=2U_EToZxN7yUGWu9BIRABVsYdp1AKkOuManwuFBz89k,20983
|
|
15
|
-
htpolynet/core/runtime.py,sha256=
|
|
15
|
+
htpolynet/core/runtime.py,sha256=5djnRdIkiVf6K5p1hIQSeY1wzAZFlJT6LjdEVn2AOqM,56017
|
|
16
16
|
htpolynet/core/topocoord.py,sha256=jtQcwzvzPVNjU9VxBF9iXw8g3KiY55_jGDlwAZDOSjs,101564
|
|
17
17
|
htpolynet/core/topology.py,sha256=XcFL96x2E4MsMrUr9upjE211-VcPVwLVoPL9vrV4DOw,56954
|
|
18
18
|
htpolynet/cure/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
19
19
|
htpolynet/cure/chain.py,sha256=-d5BFE5xUKjFdNkxLfSnCnZIRSJCtr7xuxYzNHBeSgU,5344
|
|
20
|
-
htpolynet/cure/curecontroller.py,sha256=
|
|
20
|
+
htpolynet/cure/curecontroller.py,sha256=XWFJUEGgFLM-298KGKTEh6H2OAQ8brXdOTgI35BWlMA,42103
|
|
21
21
|
htpolynet/cure/expandreactions.py,sha256=_NNsAuOCdgHMBLyEwl6S7VAZyDT5ei-m4OBBXjDE3YQ,13774
|
|
22
22
|
htpolynet/cure/reaction.py,sha256=S-w60HocYknKnGbq1_uwLpKTL5Fte_o7zxwk3FbyQ1I,10557
|
|
23
23
|
htpolynet/external/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -38,7 +38,7 @@ htpolynet/io/gro.py,sha256=QGsAIlTIJlMRxtv_Juo0wdpbICAzyfQvSzzaMWrlMmA,7141
|
|
|
38
38
|
htpolynet/io/mol2.py,sha256=5aU3HmQ5DS0LBF7tBPCNYKzBScwj8V3xfEUcFIrsevk,7314
|
|
39
39
|
htpolynet/io/pdb.py,sha256=Np44dTbM0IcEAzfz6OGuH0rdQ63BGps3kOmkzH6syls,5293
|
|
40
40
|
htpolynet/repair/__init__.py,sha256=cP3i-P-Wc6s0MgoFDp63kbLomM-ti3mMGEgeQzUVKuY,1740
|
|
41
|
-
htpolynet/repair/cyanate_cap.py,sha256=
|
|
41
|
+
htpolynet/repair/cyanate_cap.py,sha256=rJye8V8OWYI0relu-pRAoSUONKAe9L2fQkS0DMs9Mr4,27246
|
|
42
42
|
htpolynet/repair/topology_surgery.py,sha256=aJ1md2SE4UzVU1YTS-Tiox8QXrr1hZwU6cCuEimlSrU,10030
|
|
43
43
|
htpolynet/resources/README.md,sha256=epKLyqtcxtQOSzTYvaGlwhz970UA4vAU7r-iSBbbpmA,1432
|
|
44
44
|
htpolynet/resources/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -96,8 +96,8 @@ htpolynet/utils/logsetup.py,sha256=o0mlVXNzqcfua2SAlJPkGSh4lM_bmI10gWwpb9gqYu8,1
|
|
|
96
96
|
htpolynet/utils/profiling.py,sha256=su7qpGEz6FXVU4KT2HQDWG82bc1sgsfpDQBbAfPpsHc,7331
|
|
97
97
|
htpolynet/utils/stringthings.py,sha256=Mr6o55EM8o4YAaVYpjIJj2IxDToNdbPzb-lpQ3w3jFk,1176
|
|
98
98
|
htpolynet/utils/vmd_viz.py,sha256=Crk3Ln88PKiJ9X7DMMkFEVh2Ru6a1y0RUgj3w6EIgFc,10867
|
|
99
|
-
htpolynet-2.
|
|
100
|
-
htpolynet-2.
|
|
101
|
-
htpolynet-2.
|
|
102
|
-
htpolynet-2.
|
|
103
|
-
htpolynet-2.
|
|
99
|
+
htpolynet-2.6.0.dist-info/METADATA,sha256=jddVgu49fDmeOBqZLDB38ToTqdIzMBNMmaqFg0ZFot0,6557
|
|
100
|
+
htpolynet-2.6.0.dist-info/WHEEL,sha256=zOwg4jB6zX2kU910N-cMawjivD6tO8NEWvE12je1bVk,87
|
|
101
|
+
htpolynet-2.6.0.dist-info/entry_points.txt,sha256=G5tx55llJf-IV9dIe7J8myGdyrhCVggCAhKrVNGP_s0,48
|
|
102
|
+
htpolynet-2.6.0.dist-info/licenses/LICENSE,sha256=piPSGqJdmTGyzF9HOnjlO2KvgOKT8NHwhCuGYM778tY,1071
|
|
103
|
+
htpolynet-2.6.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|