chemparseplot 1.13.1__py3-none-any.whl → 1.13.2__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.
_version.py CHANGED
@@ -18,7 +18,7 @@ version_tuple: tuple[int | str, ...]
18
18
  commit_id: str | None
19
19
  __commit_id__: str | None
20
20
 
21
- __version__ = version = '1.13.1'
22
- __version_tuple__ = version_tuple = (1, 13, 1)
21
+ __version__ = version = '1.13.2'
22
+ __version_tuple__ = version_tuple = (1, 13, 2)
23
23
 
24
24
  __commit_id__ = commit_id = None
@@ -90,7 +90,7 @@ def changed_bonds(reactant, product, limit=3):
90
90
 
91
91
 
92
92
  def apply_wbo_style(
93
- molecule, bond_orders, *, minimum=0.1, weak=0.5, vmax=3.0, max_contact=2.0
93
+ molecule, bond_orders, *, minimum=0.1, weak=0.5, vmax=3.0, max_contact=2.5
94
94
  ):
95
95
  """Replace geometric connectivity with measured Wiberg bond orders.
96
96
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: chemparseplot
3
- Version: 1.13.1
3
+ Version: 1.13.2
4
4
  Summary: Parsers and plotting tools for computational chemistry
5
5
  Project-URL: Documentation, https://chemparseplot.rgoswami.me
6
6
  Project-URL: Issues, https://github.com/HaoZeke/chemparseplot/issues
@@ -1,4 +1,4 @@
1
- _version.py,sha256=itvb1wVabTAM82gI7uwo8oRd8JnM1YBZ3H0D_VAyd_U,522
1
+ _version.py,sha256=2Cr_dqkSDP62wnSopFyLr49JJJmZ3fep3K8gp7qTWlk,522
2
2
  chemparseplot/__init__.py,sha256=8M1TQDLxtr2EvjQbG6EiIyiIu149VwGMBdLfoL1LsDc,890
3
3
  chemparseplot/api.py,sha256=vQz2CCbxdwV0BBmHs4hH-HK4y0T-MwBFMoKwaW2NUYU,4942
4
4
  chemparseplot/units.py,sha256=oWRy5OnGH4bAELtlzrAwxZQvliFDCWOtInj_itpC2rc,3688
@@ -60,7 +60,7 @@ chemparseplot/plot/neb.py,sha256=lD9UOA45IeF-DVoalzgfKOfF5YZNX_hjmM9Hvdu62KE,722
60
60
  chemparseplot/plot/optimization.py,sha256=yOLCXz-nw4Jj1O8C2u7szf2EJhiwk8mWGaE0h6V_LDk,24195
61
61
  chemparseplot/plot/plumed.py,sha256=lp3rNeZjwfDbYF92RkVc75sfhF_cFIeD2PyUBIKvB7Y,3943
62
62
  chemparseplot/plot/provenance.py,sha256=5RVEEKQzSssYIuLyezPFcr-TZwlP8gwzZ89Iu_wC_C8,3626
63
- chemparseplot/plot/reaction.py,sha256=ipfh6HZMDW-J4rknCVUDCockrIdeMtDsrYpzIE4TkEk,12135
63
+ chemparseplot/plot/reaction.py,sha256=MwvJtSeFa2wIyjPSnjx3vyjH0KrvT_F7oj0yRdAI5hM,12135
64
64
  chemparseplot/plot/rings.py,sha256=XBfsTOlZ8eSZYtqnXwM-XIlxWejLWC2brHr9sF0Stio,32658
65
65
  chemparseplot/plot/structs.py,sha256=0CfxamdciGg6fcru7jL_6hLwM2hAMk-cRmK6E7UXaY8,6466
66
66
  chemparseplot/plot/surrogate.py,sha256=i-bbR7x_8xsW2cgqo9GZ_D8e5i7ZPIwp2UMjFH9QiUQ,98030
@@ -145,7 +145,7 @@ tests/plot/test_orca_neb_payload.py,sha256=Z6as2snM2fvW1n6HcjL9anj9jVh4baU2jZGxx
145
145
  tests/plot/test_primitive_rings.py,sha256=MTCkY7yOlKawJAmB3uQe8ufIVehcxMjJIyk_iLW00GM,3568
146
146
  tests/plot/test_projection_refactor.py,sha256=O0iydKG4qfVfIv7cLsTYkZOjKLOZrlGCkIe7yVJ7QJw,4954
147
147
  tests/plot/test_provenance.py,sha256=yl-W_V4-3WQWfrWw9HOySvXTi2liHFTnJncxEq55aGg,1853
148
- tests/plot/test_reaction.py,sha256=IgRZgYnOjsw9QDfXrL2s8vLQ41QNnUBXysUyCf2AlGY,5519
148
+ tests/plot/test_reaction.py,sha256=YKnhMqAveQ0VYBPVAqmNhv_X4HmTWdXxMlT9m0-EWOw,5834
149
149
  tests/plot/test_ring_track.py,sha256=TVQZU2b5ESeFwJEyGbbysBXKl-F1evkSRkxueBGQYg8,7066
150
150
  tests/plot/test_ring_updater.py,sha256=bUufHVfXhixqMgw1p7F0V9FiecxWLnTxndGWaTj5_yo,930
151
151
  tests/plot/test_strip_rendering.py,sha256=wgqoCQR6MVQ0y4Dq2QATTVgIf-Ilizriavk5TfWwiYA,8495
@@ -154,7 +154,7 @@ tests/plot/test_surface_auto_thin.py,sha256=-hteZRi3sK5CAZp0rvZnFSunV_AnP8AdiGHq
154
154
  tests/plot/test_surrogate_plots.py,sha256=XeqV3KLu6fVgfCAMGdFRRMvzyaPSWAVYfG3QkduPZyA,39356
155
155
  tests/plot/data/sexithiophene.sdf,sha256=MlX6h2eeaXTOXm9iSoienT8qS2xvcR4B-iYK6jAAnEI,8335
156
156
  tests/tutorials/test_chemparseplot.py,sha256=RDZcMRrg5yPHguNZIdOAdaG0GuVLO73rXjjuNSef7K0,3550
157
- chemparseplot-1.13.1.dist-info/METADATA,sha256=RbcFJ4by7Vv8bxEvmJBULbHK5SRO7S4pZdvETk111fk,9841
158
- chemparseplot-1.13.1.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
159
- chemparseplot-1.13.1.dist-info/licenses/LICENSE,sha256=WpBevJdirrfildX-iO61fdIm4hJ0EQniBoxNJJPlFl0,1127
160
- chemparseplot-1.13.1.dist-info/RECORD,,
157
+ chemparseplot-1.13.2.dist-info/METADATA,sha256=p-hSMpe2bxIzofg0qg9YqEWhreFrlu2XgkxMFR3D3EI,9841
158
+ chemparseplot-1.13.2.dist-info/WHEEL,sha256=2iZrJkDIkeDh0k9SikKMqFuRP-ua6mb4Ir1AsER4BEw,87
159
+ chemparseplot-1.13.2.dist-info/licenses/LICENSE,sha256=WpBevJdirrfildX-iO61fdIm4hJ0EQniBoxNJJPlFl0,1127
160
+ chemparseplot-1.13.2.dist-info/RECORD,,
@@ -117,6 +117,12 @@ def test_bond_order_between_separated_atoms_draws_no_edge(tmp_path):
117
117
  a, b, c = sorted(graph.nodes)
118
118
  assert graph.has_edge(a, b)
119
119
  assert not graph.has_edge(a, c)
120
+ # a forming H-H contact of a dissociation saddle keeps its edge
121
+ hh = tmp_path / "hh.xyz"
122
+ hh.write_text("3\nhh\nC 0 0 0\nH 1.1 0 0\nH 1.1 1.29 0\n")
123
+ graph_hh = apply_wbo_style(xr.load(str(hh), quick=True), {(2, 3): 0.15}).graph
124
+ p, r, s = sorted(graph_hh.nodes)
125
+ assert graph_hh.has_edge(r, s)
120
126
  # a stretched transition-state contact within the reach keeps its edge
121
127
  graph = apply_wbo_style(
122
128
  xr.load(str(path), quick=True), {(1, 3): 0.75}, max_contact=4.0