Skip to content

Commit

Permalink
fix error with name error
Browse files Browse the repository at this point in the history
  • Loading branch information
jdkern11 committed Sep 14, 2021
1 parent d006fdf commit f6fd73b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion polyga/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '1.0.8'
__version__ = '1.0.9'
6 changes: 3 additions & 3 deletions polyga/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,11 +126,11 @@ def chromosome_ids_to_smiles(chromosome_ids: list, chromosomes: dict,
for key in endatom.keys():
try:
m.GetAtomWithIdx(
ms_at_idx[i][
ms_edtg[i].index(key)
mols_at_idx[i][
mols_edtg[i].index(key)
]
).SetAtomicNum(endatom[key][1])
except:
except ValueError as e:
pass

# Time to connect fragments.
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 = "polyga"
version = "1.0.8"
version = "1.0.9"
description = "Polymer Genetic Algorithm"
authors = ["Joseph Kern <jkern34@gatech.edu>", "Chiho Kim <chiho.kim@gatech.edu>"]
repository = "https://github.com/Ramprasad-Group/polyga.git"
Expand Down

0 comments on commit f6fd73b

Please sign in to comment.