Skip to content

Commit

Permalink
Merge pull request mala-project#596 from RandomDefaultUser/fix_pydocs…
Browse files Browse the repository at this point in the history
…tyle_update

Revert pydocstyle command
  • Loading branch information
RandomDefaultUser authored Oct 25, 2024
2 parents fd221a6 + c090317 commit 4c21990
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:

- name: Check docstrings
# Ignoring the cached_properties because pydocstyle (sometimes?) treats them as functions.
run: pydocstyle --convention=numpy --ignore-decorators=[cached_property,property] mala
run: pydocstyle --convention=numpy mala

build-and-deploy-pages:
needs: test-docstrings
Expand Down
4 changes: 2 additions & 2 deletions mala/interfaces/ase_calculator.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def __init__(
@classmethod
def load_model(cls, run_name, path="./"):
"""
DEPRECATED: Load a model to use for the calculator.
Load a model to use for the calculator (DEPRECATED).
MALA.load_model() will be deprecated in MALA v1.4.0. Please use
MALA.load_run() instead.
Expand Down Expand Up @@ -234,5 +234,5 @@ def save_calculator(self, filename, path="./"):
"""
self.predictor.save_run(
filename, path=save_path, additional_calculation_data=True
filename, path=path, additional_calculation_data=True
)

0 comments on commit 4c21990

Please sign in to comment.