Skip to content

Commit

Permalink
change open catalyst example to not have data.pbs assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
RylieWeaver committed Nov 8, 2024
1 parent 142fa40 commit 2c48245
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions examples/open_catalyst_2020/utils/atoms_to_graphs.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,6 @@ def convert(

data.x = torch.cat((atomic_numbers, positions, forces), dim=1)

if self.r_pbc:
data.pbc = [True, True, True]
data = self.radius_graph(data)
data = transform_coordinates(data)

Expand Down
2 changes: 0 additions & 2 deletions examples/open_catalyst_2022/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,6 @@ def ase_to_torch_geom(self, atoms):

data.x = torch.cat((atomic_numbers, positions, forces), dim=1)

if self.r_pbc:
data.pbc = [True, True, True]
data = self.radius_graph(data)
data = transform_coordinates(data)

Expand Down

0 comments on commit 2c48245

Please sign in to comment.