Skip to content

Commit

Permalink
Moved dataset to have access to benchmarks
Browse files Browse the repository at this point in the history
via pip install.
  • Loading branch information
leojklarner committed Nov 8, 2023
1 parent 191cb80 commit 2bf761a
Show file tree
Hide file tree
Showing 20 changed files with 11 additions and 160 deletions.
4 changes: 4 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
include README.md
include .requirements/*
recursive-include gauche/datasets *

152 changes: 0 additions & 152 deletions data/property_prediction/petase_151_mutants.csv

This file was deleted.

2 changes: 1 addition & 1 deletion gauche/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

__all__ = ["SIGP", "NonTensorialInputs"]

__version__ = "1.0.0"
__version__ = "0.1.4"
3 changes: 1 addition & 2 deletions gauche/dataloader/molprop_loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,8 +246,7 @@ def load_benchmark(
os.path.abspath(__file__),
"..",
"..",
"..",
"data",
"datasets",
"property_prediction",
benchmark + ".csv",
)
Expand Down
3 changes: 1 addition & 2 deletions gauche/dataloader/reaction_loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,8 +249,7 @@ def load_benchmark(
os.path.abspath(__file__),
"..",
"..",
"..",
"data",
"datasets",
"reactions",
benchmark.removesuffix("RXN") + ".csv",
)
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ force_grid_wrap = 0
include_trailing_comma = true
line_length = 79 # match our custom config above
multi_line_output = 3
src_paths = ["gauche", "test"]
src_paths = ["gauche"]
float_to_top = true
use_parentheses = true

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ def find_version(*file_paths):
readme = open("README.md").read()
packages = find_packages(".", exclude=["tests"])


setup(
name="gauche",
version=version,
Expand All @@ -95,6 +94,7 @@ def find_version(*file_paths):
license="MIT",
keywords="machine-learning gaussian-processes kernels pytorch chemistry biology protein ligand",
packages=packages,
include_package_data=True,
install_requires=INSTALL_REQUIRES,
extras_require=EXTRA_REQUIRES,
python_requires=">=3.8",
Expand Down
3 changes: 2 additions & 1 deletion tests/test_dataloaders/test_molprop_loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ def test_benchmark_loader(dataset, representation, kwargs):
"..",
"..",
"..",
"data",
"gauche",
"datasets",
"property_prediction",
)
)
Expand Down
Empty file.

0 comments on commit 2bf761a

Please sign in to comment.