Skip to content
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
4 changes: 2 additions & 2 deletions src/nomad_simulations/schema_packages/force_field.py
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ def normalize(self, archive, logger) -> None:
except ValueError as e:
logger.warning(
f'Unable to derive tabulated forces from energies in {self.name},'
f'Unkown error occurred in derivation: {e}'
f'Unknown error occurred in derivation: {e}'
)

if self.forces is not None and self.energies is None:
Expand Down Expand Up @@ -399,7 +399,7 @@ def normalize(self, archive, logger) -> None:
except ValueError as e:
logger.warning(
f'Unable to derive tabulated energies from forces in {self.name},'
f'Unkown error occurred in derivation: {e}'
f'Unknown error occurred in derivation: {e}'
)


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ def normalize(self, archive: EntryArchive, logger: BoundLogger) -> None:
)
self.eos_fit.append(eos_fit)
except Exception:
logger.warning('EOS fit unsuccesful.')
logger.warning('EOS fit unsuccessful.')


class EquationOfState(ParallelWorkflow):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class GeometryOptimizationMethod(SimulationWorkflowMethod):

| `"atomic"` | the atomic coordinates alone are updated |

| `"cell_volume"` | `"atomic"` + cell lattice paramters are updated isotropically |
| `"cell_volume"` | `"atomic"` + cell lattice parameters are updated isotropically |

| `"cell_shape"` | `"cell_volume"` but without the isotropic constraint: all cell parameters are updated |

Expand All @@ -42,7 +42,7 @@ class GeometryOptimizationMethod(SimulationWorkflowMethod):
shape=[],
description="""
The method used for geometry optimization. Some known possible values are:
`"steepest_descent"`, `"conjugant_gradient"`, `"low_memory_broyden_fletcher_goldfarb_shanno"`.
`"steepest_descent"`, `"conjugate_gradient"`, `"low_memory_broyden_fletcher_goldfarb_shanno"`.
""",
)

Expand Down Expand Up @@ -100,7 +100,7 @@ class GeometryOptimizationMethod(SimulationWorkflowMethod):


class GeometryOptimizationResults(SimulationWorkflowResults):
_label = 'Geometry optimiztation results'
_label = 'Geometry optimization results'

n_steps = Quantity(
type=int,
Expand Down
2 changes: 1 addition & 1 deletion tests/workflow/test_equation_of_state.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ def test_tasks(
elif expected.get('inconsistent_sizes') is not None:
assert len(workflow.results.energies) == len(workflow.results.volumes)
if 0 < expected.get('n_eos_fit', 0) < len(FUNCTION_NAMES):
assert 'EOS fit unsuccesful.' in errors
assert 'EOS fit unsuccessful.' in errors
assert len(workflow.results.eos_fit) == expected.get('n_eos_fit', 0)

for n, expected_fit in enumerate(expected.get('eos_fit', [])):
Expand Down
Loading