Skip to content

Commit

Permalink
formatting fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
allaffa committed Aug 15, 2023
1 parent c9e023f commit 0871d61
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions hydragnn/utils/abstractrawdataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -373,9 +373,8 @@ def __build_edge(self):

# edge lengths already added manually if using PBC.
# if spherical coordinates or pair point is set up, then skip directly to edge_transformation
if (
(not self.periodic_boundary_conditions)
and (not hasattr(self, self.edge_feature_transform))
if (not self.periodic_boundary_conditions) and (
not hasattr(self, self.edge_feature_transform)
):
self.dataset[:] = [compute_edge_lengths(data) for data in self.dataset]

Expand Down

0 comments on commit 0871d61

Please sign in to comment.