Skip to content

Commit

Permalink
Merge pull request #31 from choderalab/update-lig-model-return
Browse files Browse the repository at this point in the history
Update LigandOnlyModel return to match other Model classes.
  • Loading branch information
kaminow authored Nov 1, 2023
2 parents 6f6d8e8 + 752521d commit 011c066
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mtenn/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,6 @@ def forward(self, rep):
pred = self.get_representation(tmp_rep)

if self.readout:
return self.readout(pred)
return self.readout(pred), [pred]
else:
return pred
return pred, [pred]

0 comments on commit 011c066

Please sign in to comment.