Skip to content

Commit

Permalink
fixes to xyz
Browse files Browse the repository at this point in the history
  • Loading branch information
FNTwin committed Apr 4, 2024
1 parent 955e787 commit 1f9bb94
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions openqdc/datasets/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ def __init__(
path: List[str],
*,
dataset_name: Optional[str] = None,
energy_type: Optional[str] = "regression",
energy_unit: Optional[str] = "hartree",
distance_unit: Optional[str] = "ang",
level_of_theory: Optional[QmMethod] = None,
Expand All @@ -41,6 +42,9 @@ def __init__(
"""
self.path = [path] if isinstance(path, str) else path
self.__name__ = self.__class__.__name__ if dataset_name is None else dataset_name
self.recompute_statistics = True
self.refit_e0s = True
self.energy_type = energy_type
self.__energy_unit__ = energy_unit
self.__distance_unit__ = distance_unit
self.__energy_methods__ = [PotentialMethod.NONE if not level_of_theory else level_of_theory]
Expand Down

0 comments on commit 1f9bb94

Please sign in to comment.