Skip to content

Commit

Permalink
debug: specify total charge
Browse files Browse the repository at this point in the history
  • Loading branch information
yuanqing-wang authored Nov 30, 2022
1 parent f7d4213 commit 2a40c5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion espaloma_charge/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,5 @@ def charge(
if total_charge is None:
total_charge = Chem.GetFormalCharge(molecule)
graph = from_rdkit_mol(molecule)
graph = model(graph)
graph = model(graph, total_charge=total_charge)
return graph.ndata["q"].cpu().detach().flatten().numpy()

0 comments on commit 2a40c5f

Please sign in to comment.