Skip to content

Commit

Permalink
Updated gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
Gaurav S Deshmukh committed Sep 20, 2023
1 parent b3e9246 commit c8adcb0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
*.csv
!data/dband_centers.csv
__pycache__
*.cif
4 changes: 2 additions & 2 deletions src/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def __init__(self, root, prop_csv):
pro_csv: str
Path to the file mapping atomic structure filename and property.
This filename will typically have two columns, the first with the
names of the cif files (without .cif) and the second with the
names of the cif files and the second with the
corresponding target property values.
"""
super().__init__(root)
Expand Down Expand Up @@ -80,7 +80,7 @@ def process(self, z_cutoffs, node_features, edge_features, max_atoms=12,
# Iterate over files and process them
for i, name in enumerate(self.names):
# Set file path
file_path = self.root_path / name + ".cif"
file_path = self.root_path / name

# Read structure
atoms = read(str(file_path))
Expand Down

0 comments on commit c8adcb0

Please sign in to comment.