Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minors #164

Merged
merged 8 commits into from
Nov 5, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions notebooks/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
gt4sd>=0.49.0
ipywidgets<8
jupyter==1.0.0
mols2grid==0.2.0
pandas>=1.0.0
Expand Down
7 changes: 4 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# pypi requirements
accelerate>=0.12
datasets>=1.11.0
diffusers>=0.6.0
diffusers<=0.6.0
jannisborn marked this conversation as resolved.
Show resolved Hide resolved
importlib-metadata>=1.7.0,<5.0.0 # temporary: https://github.com/python/importlib_metadata/issues/409
importlib-resources>=5.10.0
ipaddress>=1.0.23
Expand All @@ -10,14 +10,15 @@ keras>=2.3.1
keybert==0.2.0
minio==7.0.1
modlamp>=4.0.0
molecule-generation>=0.3.0
molgx>=0.22.0a1
nglview>=3.0.3
numpy>=1.16.5
protobuf<3.20
pyarrow<=6.0.1
pydantic>=1.7.3,<=1.9.2
pydantic>=1.7.3
PyTDC==0.3.7
pytorch_lightning<=1.7.7
PyTDC>=0.3.7
pyyaml>=5.4.1
rdkit-pypi>=2020.9.5.2,<=2021.9.4
regex>=2.5.91
Expand Down
5 changes: 4 additions & 1 deletion src/gt4sd/algorithms/registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,10 @@ def decorator(
),
], # type: ignore
)

# NOTE: Duplicate call necessary for pydantic >=1.10.* - see https://github.com/pydantic/pydantic/issues/4695
PydanticConfiguration: Type[AlgorithmConfiguration] = dataclass( # type: ignore
jannisborn marked this conversation as resolved.
Show resolved Hide resolved
VanillaConfiguration
)
PydanticConfiguration: Type[AlgorithmConfiguration] = dataclass( # type: ignore
VanillaConfiguration
)
Expand Down
5 changes: 3 additions & 2 deletions src/gt4sd/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,10 +108,11 @@ def __init__(self, gt4sd_configuration: GT4SDConfiguration) -> None:

for key, val in gt4sd_artifact_management_configuration.local_cache_path.items():
logger.info(f"using as local cache path for {key}: {val}")
path = os.path.join(gt4sd_configuration_instance.gt4sd_local_cache_path, val)
try:
os.makedirs(val)
os.makedirs(path)
except FileExistsError:
logger.debug(f"local cache path for {key} already exists at {val}.")
logger.debug(f"local cache path for {key} already exists at {path}.")


def upload_to_s3(
Expand Down
1 change: 0 additions & 1 deletion vcs_requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# version control systems requirements
guacamol_baselines @ git+https://github.com/GT4SD/guacamol_baselines.git@v0.0.2
molecule_generation @ git+https://github.com/GT4SD/molecule-generation.git@main
moses @ git+https://github.com/GT4SD/moses.git@v0.1.0
paccmann_chemistry @ git+https://github.com/PaccMann/paccmann_chemistry@0.0.4
paccmann_generator @ git+https://github.com/PaccMann/paccmann_generator@0.0.2
Expand Down