Skip to content

Commit

Permalink
fix wrong Returns: section in EquationOfState.fit doc str
Browse files Browse the repository at this point in the history
  • Loading branch information
janosh committed Oct 16, 2024
1 parent a01c01f commit 28e3fba
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
6 changes: 1 addition & 5 deletions chgnet/graph/converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -273,11 +273,7 @@ def set_isolated_atom_response(
"""Set the graph converter's response to isolated atom graph
Args:
on_isolated_atoms ('ignore' | 'warn' | 'error'): how to handle Structures
with isolated atoms.
Default = 'error'.
Returns:
None
with isolated atoms. Default = 'error'.
"""
self.on_isolated_atoms = on_isolated_atoms

Expand Down
3 changes: 0 additions & 3 deletions chgnet/model/dynamics.py
Original file line number Diff line number Diff line change
Expand Up @@ -814,9 +814,6 @@ def fit(
verbose (bool): Whether to print the output of the ASE optimizer.
Default = False
**kwargs: Additional parameters for the optimizer.
Returns:
Bulk Modulus (float)
"""
if isinstance(atoms, Atoms):
atoms = AseAtomsAdaptor.get_structure(atoms)
Expand Down

0 comments on commit 28e3fba

Please sign in to comment.