Skip to content

Commit

Permalink
Use adjlists instead of SMILES when saving an Arkane PDep network
Browse files Browse the repository at this point in the history
  • Loading branch information
alongd authored and mjohnson541 committed Dec 30, 2020
1 parent 2200b7e commit 43a1ee9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arkane/pdep.py
Original file line number Diff line number Diff line change
Expand Up @@ -665,7 +665,7 @@ def save_input_file(self, path):
f.write('species(\n')
f.write(' label = {0!r},\n'.format(str(spec)))
if len(spec.molecule) > 0:
f.write(' structure = SMILES({0!r}),\n'.format(spec.molecule[0].to_smiles()))
f.write(f' structure = adjacencyList("""{spec.molecule[0].to_adjacency_list()}"""),\n')
if spec.conformer is not None:
if spec.conformer.E0 is not None:
f.write(' E0 = {0!r},\n'.format(spec.conformer.E0))
Expand Down

0 comments on commit 43a1ee9

Please sign in to comment.