Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Mar 15, 2024
1 parent 09f626a commit 56eba3b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions apax/utils/datasets.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ def download_etoh_ccsdt(data_path):

return train_file_path, test_file_path


def download_md22_benzene_CCSDT(data_path):
url = "http://www.quantum-machine.org/gdml/data/xyz/benzene_ccsd_t.zip"
file_path = data_path / "benzene_ccsdt.zip"
Expand Down
3 changes: 2 additions & 1 deletion apax/utils/helpers.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import yaml
import csv


def setup_ase():
"""Add uncertainty keys to ASE all properties.
from https://github.com/zincware/IPSuite/blob/main/ipsuite/utils/helpers.py#L10
Expand Down Expand Up @@ -30,7 +31,7 @@ def mod_config(config_path, updated_config):
def load_csv_metrics(path):
data_dict = {}

with open(path, 'r') as file:
with open(path, "r") as file:
reader = csv.reader(file)

# Extract the headers (keys) from the first row
Expand Down

0 comments on commit 56eba3b

Please sign in to comment.