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

changed pydantic version and barostat condition to allow nvt #21

Open
wants to merge 20 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 3 commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion deepdrivemd/apps/cvae_train/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class CVAESettings(BaseSettings):
latent_dim: int = 10
lambda_rec: float = 1.0
num_data_workers: int = 0
prefetch_factor: int = 2
prefetch_factor: Optional[int] = 2
batch_size: int = 64
device: str = "cuda"
optimizer_name: str = "RMSprop"
Expand Down
2 changes: 1 addition & 1 deletion deepdrivemd/apps/openmm_simulation/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def _configure_amber_explicit(
(1, 1, 1) * u.bar, temperature_kelvin * u.kelvin, False, False, True
)
)
else:
elif "Barostat" in explicit_barostat:
raise ValueError(f"Invalid explicit_barostat option: {explicit_barostat}")

sim = app.Simulation(
Expand Down
2 changes: 1 addition & 1 deletion requirements/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
parsl==2023.3.13
pydantic==1.10.6
pydantic==1.10.9
pyyaml==6.0
colmena==0.4.5
MDAnalysis==2.3.0
Expand Down
4 changes: 2 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ author_email = [email protected]
[options]
packages = find:
install_requires =
pydantic==1.10.6
pydantic>=1.10.6
hengma1001 marked this conversation as resolved.
Show resolved Hide resolved
pyyaml==6.0
colmena==0.4.5
parsl==2023.3.13
Expand Down Expand Up @@ -67,4 +67,4 @@ ignore_missing_imports = True
ignore_missing_imports = True

[mypy-mdlearn.*]
ignore_missing_imports = True
ignore_missing_imports = True