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

NEB hessian_reset keyword has been deleted #841

Merged
merged 3 commits into from
Jun 7, 2024
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
2 changes: 0 additions & 2 deletions qcarchivetesting/qcarchivetesting/test_full_neb.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ def test_neb_full_1(fulltest_client: PortalClient):
optimize_endpoints=False,
align=True,
epsilon=1e-6,
hessian_reset=True,
)

sp_spec = QCSpecification(
Expand Down Expand Up @@ -107,7 +106,6 @@ def test_neb_full_2(fulltest_client: PortalClient):
optimize_endpoints=True,
align=False,
epsilon=1e-6,
hessian_reset=True,
)

sp_spec = QCSpecification(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -352,8 +352,7 @@ def test_neb_socket_add_specification_diff_3(storage_socket: SQLAlchemySocket):
images=21,
spring_constant=1.5,
optimize_endpoints=True,
hessian_reset=False,
spring_type=0,
optimize_ts=True,
),
singlepoint_specification=common_sp_spec,
)
Expand All @@ -364,6 +363,7 @@ def test_neb_socket_add_specification_diff_3(storage_socket: SQLAlchemySocket):
images=21,
spring_constant=1.5,
optimize_endpoints=True,
optimize_ts=False,
),
singlepoint_specification=common_sp_spec,
)
Expand Down
5 changes: 0 additions & 5 deletions qcportal/qcportal/neb/record_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,6 @@ class Config:

epsilon: float = Field(1e-5, description="Small eigenvalue threshold for resetting Hessian.")

hessian_reset: bool = Field(
True,
description="Reset Hessian when eigenvalues are below the epsilon.",
)

@root_validator
def normalize(cls, values):
return recursive_normalizer(values)
Expand Down
3 changes: 0 additions & 3 deletions qcportal/qcportal/neb/test_dataset_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
average_force=0.025,
optimize_ts=True,
epsilon=1e-5,
hessian_reset=True,
spring_type=0,
),
singlepoint_specification=QCSpecification(
Expand All @@ -60,7 +59,6 @@
average_force=0.025,
optimize_ts=True,
epsilon=1e-5,
hessian_reset=True,
spring_type=1,
),
singlepoint_specification=QCSpecification(
Expand All @@ -81,7 +79,6 @@
average_force=0.025,
optimize_ts=True,
epsilon=1e-5,
hessian_reset=True,
spring_type=0,
),
singlepoint_specification=QCSpecification(
Expand Down