Skip to content

Commit

Permalink
Merge pull request #497 from avcopan/dev
Browse files Browse the repository at this point in the history
Use more_itertools.pairwise for compatibility
  • Loading branch information
avcopan authored Jun 5, 2024
2 parents 8b72382 + b1945d5 commit d02ce63
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions recipe.yaml → .recipe/recipe.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
package:
name: autochem
version: "2024.6.4"
version: "2024.6.5"

about:
license: MIT
description: A library for manipulating molecular descriptors
repository: https://github.com/Auto-Mech/autochem

source:
path: .
path: ..

build:
noarch: python
Expand Down
3 changes: 2 additions & 1 deletion automol/graph/_2conv.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

import IPython.display as ipd
import ipywidgets
import more_itertools as mit
import numpy
from phydat import phycon

Expand Down Expand Up @@ -471,7 +472,7 @@ def ts_geometry_from_reactants(
counts = list(map(geom.count, rct_geos))
rcts_keys = [
list(map(key_dct.get, range(c0, c0 + c)))
for c0, c in itertools.pairwise([0] + counts)
for c0, c in mit.pairwise([0] + counts)
]

# 5. Embed the TS structure, using distances from the *original* reactant
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "autochem"
version = "2024.5.29"
version = "2024.6.5"
description = "A library for manipulating molecular descriptors"
authors = ["Andreas Copan <avcopan@gmail.com>"]
readme = "README.md"
Expand Down

0 comments on commit d02ce63

Please sign in to comment.