Skip to content

Commit

Permalink
manifest again
Browse files Browse the repository at this point in the history
  • Loading branch information
pstjohn committed Nov 21, 2022
1 parent 7aa9e6a commit b855490
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
include rlmolecule/policy/preprocessor.json
include pyproject.toml
recursive-include rlmolecule *.json
Empty file.
File renamed without changes.
4 changes: 2 additions & 2 deletions rlmolecule/policy/preprocessor.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import os
from typing import Optional

import rdkit
import rdkit.Chem

# from nfp.preprocessing.mol_preprocessor import MolPreprocessor
from nfp.preprocessing import MolPreprocessor
Expand Down Expand Up @@ -66,7 +66,7 @@ def load_preprocessor(saved_preprocessor_file: Optional[str] = None) -> MolPrepr

if not saved_preprocessor_file:
saved_preprocessor_file = os.path.join(
os.path.dirname(os.path.abspath(__file__)), "preprocessor.json"
os.path.dirname(os.path.abspath(__file__)), "data", "preprocessor.json"
)

preprocessor.from_json(saved_preprocessor_file)
Expand Down
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ classifiers =

[options]
packages = find:
include_package_data = true
install_requires =
graphenv
tensorflow
Expand Down

0 comments on commit b855490

Please sign in to comment.