Skip to content

Commit

Permalink
updated DES370K based on Prudencio's comments
Browse files Browse the repository at this point in the history
  • Loading branch information
mcneela committed Mar 5, 2024
1 parent 768fb2e commit 9cf6034
Showing 1 changed file with 10 additions and 27 deletions.
37 changes: 10 additions & 27 deletions src/openqdc/datasets/interaction/des370k.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@ class DES370K(BaseInteractionDataset):
"ccsd(t)/cbs", # cbs
"ccsd(t)/nn", # nn
"sapt0/aug-cc-pwcvxz",
"sapt0/aug-cc-pwcvxz",
"sapt0/aug-cc-pwcvxz",
"sapt0/aug-cc-pwcvxz",
"sapt0/aug-cc-pwcvxz",
"sapt0/aug-cc-pwcvxz",
"sapt0/aug-cc-pwcvxz",
"sapt0/aug-cc-pwcvxz",
"sapt0/aug-cc-pwcvxz",
"sapt0/aug-cc-pwcvxz",
"sapt0/aug-cc-pwcvxz_es",
"sapt0/aug-cc-pwcvxz_ex",
"sapt0/aug-cc-pwcvxz_exs2",
"sapt0/aug-cc-pwcvxz_ind",
"sapt0/aug-cc-pwcvxz_exind",
"sapt0/aug-cc-pwcvxz_disp",
"sapt0/aug-cc-pwcvxz_exdisp_os",
"sapt0/aug-cc-pwcvxz_exdisp_ss",
"sapt0/aug-cc-pwcvxz_delta_HF",
]

energy_target_names = [
Expand Down Expand Up @@ -87,27 +87,10 @@ def read_raw_entries(self) -> List[Dict]:
name = np.array([smiles0 + "." + smiles1])

item = dict(
mol0=dict(
smiles=smiles0,
atomic_inputs=atomic_inputs0,
n_atoms=natoms0,
charge=charge0,
elements=elements0,
atomic_nums=atomic_nums0,
pos=pos0,
),
mol1=dict(
smiles=smiles1,
atomic_inputs=atomic_inputs1,
n_atoms=natoms1,
charge=charge1,
elements=elements1,
atomic_nums=atomic_nums1,
pos=pos1,
),
energies=energies,
subset=np.array(["DES370K"]),
n_atoms=np.array([natoms0 + natoms1], dtype=np.int32),
n_atoms_first=np.array([natoms0], dtype=np.int32),
atomic_inputs=atomic_inputs,
name=name,
)
Expand Down

0 comments on commit 9cf6034

Please sign in to comment.