Skip to content

Commit

Permalink
Update cgcnn_inference.py
Browse files Browse the repository at this point in the history
  • Loading branch information
williamyxl authored Apr 10, 2024
1 parent d84e71b commit e2ce3ea
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion mofa/scoring/cgcnn_inference.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
import numpy as np


_atom_init_dir = Path(__file__).parent / "files"

class Opt:
def __init__(self, **entries):
self.__dict__.update(entries)
Expand Down Expand Up @@ -521,7 +523,7 @@ def run_cgcnn_pred_wrapper_serial(mofs: list[ase.Atoms], run_name="some_random_s
"data_norm": False,
"dataset": 'cifdata',
"train_frac": 1,
"data_dir_crystal": 'cme575-sp24-cgcnn/train_data',
"data_dir_crystal": _atom_init_dir,
"pin_memory": False,
"save_to_pickle": None,
"num_oversample": 0,
Expand Down

0 comments on commit e2ce3ea

Please sign in to comment.