diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 17f51068b..945017c6e 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -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 diff --git a/mala/interfaces/ase_calculator.py b/mala/interfaces/ase_calculator.py index 2ced82f57..1ccd73d3a 100644 --- a/mala/interfaces/ase_calculator.py +++ b/mala/interfaces/ase_calculator.py @@ -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. @@ -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 )