Skip to content

Commit

Permalink
Add name of struct
Browse files Browse the repository at this point in the history
  • Loading branch information
Gaurav S Deshmukh committed Sep 20, 2023
1 parent 003f669 commit b3e9246
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,9 @@ def process(self, z_cutoffs, node_features, edge_features, max_atoms=12,
)
data_objects.append(data_obj)

# Add name of structure
data_objects.append(name)

# Save data objects
torch.save(data_objects, self.processed_path / f"data_{i}.pt")

Expand Down

0 comments on commit b3e9246

Please sign in to comment.