Skip to content

Commit

Permalink
add comment to why some input features were commented out (#163)
Browse files Browse the repository at this point in the history
Co-authored-by: Iván Pulido <2949729+ijpulidos@users.noreply.github.com>
  • Loading branch information
kntkb and ijpulidos committed Jul 11, 2023
1 parent 902234c commit 5448de1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions espaloma/graphs/utils/read_homogeneous_graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ def fp_oe(atom):
torch.tensor(
[
atom.GetDegree(),
# Note: Discard resonance-variant features
# Issue related to https://github.com/choderalab/espaloma_charge/issues/18
# atom.GetValence(),
# atom.GetExplicitValence(),
# atom.GetFormalCharge(),
Expand Down Expand Up @@ -93,6 +95,8 @@ def fp_rdkit(atom):
torch.tensor(
[
atom.GetTotalDegree(),
# Note: Discard resonance-variant features
# Issue related to https://github.com/choderalab/espaloma_charge/issues/18
# atom.GetTotalValence(),
# atom.GetExplicitValence(),
# atom.GetFormalCharge(),
Expand Down

0 comments on commit 5448de1

Please sign in to comment.