Skip to content

Commit

Permalink
undo temporary fix
Browse files Browse the repository at this point in the history
  • Loading branch information
stefaanhessmann committed Aug 28, 2024
1 parent e5564aa commit bd86896
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/schnetpack/data/atoms.py
Original file line number Diff line number Diff line change
Expand Up @@ -359,9 +359,7 @@ def _get_properties(
properties[structure.cell] = (
torch.tensor(row["cell"][None].copy()) * self.distance_conversion
)
properties[structure.pbc] = torch.tensor(
row["pbc"].tolist()
) # todo: check this RuntimeError: Could not infer dtype of numpy.bool
properties[structure.pbc] = torch.tensor(row["pbc"])

return properties

Expand Down

0 comments on commit bd86896

Please sign in to comment.