Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mariogeiger committed Feb 3, 2023
1 parent f5bbc34 commit bbfc299
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mace_jax/tools/gin_datasets.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def datasets(
"""Load training and test dataset from xyz file"""

atomic_energies_dict, all_train_configs = data.load_from_xyz(
file_path=train_path,
file_or_path=train_path,
config_type_weights=config_type_weights,
energy_key=energy_key,
forces_key=forces_key,
Expand All @@ -56,7 +56,7 @@ def datasets(

if valid_path is not None:
_, valid_configs = data.load_from_xyz(
file_path=valid_path,
file_or_path=valid_path,
config_type_weights=config_type_weights,
energy_key=energy_key,
forces_key=forces_key,
Expand Down Expand Up @@ -88,7 +88,7 @@ def datasets(

if test_path is not None:
_, test_configs = data.load_from_xyz(
file_path=test_path,
file_or_path=test_path,
config_type_weights=config_type_weights,
energy_key=energy_key,
forces_key=forces_key,
Expand Down

0 comments on commit bbfc299

Please sign in to comment.