Skip to content

Commit

Permalink
fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
PicoCentauri committed Feb 2, 2024
1 parent 4699030 commit c22ee68
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ cython_debug/

# model output directories
outputs/
examples/*.xyz
examples/basic_usage/*.xyz
!docs/static/*.pt
!examples/ase/*.pt

Expand Down
2 changes: 1 addition & 1 deletion examples/basic_usage/usage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ metatensor-models eval --help
# However, before we export the model, we need to run the following command to
# hotfix errors in metatensor.

python ../scripts/hotfix_metatensor.py
python ../../scripts/hotfix_metatensor.py

# Finally, the `metatestor-models export`, i.e.,

Expand Down
2 changes: 1 addition & 1 deletion src/metatensor/models/cli/eval_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def _add_eval_model_parser(subparser: argparse._SubParsersAction) -> None:
)


def eval_model(model: str, structures: str, output: str) -> None:
def eval_model(model: str, structures: str, output: str = "output.xyz") -> None:
"""Evaluate a pretrained model.
``target_property`` wil be predicted on a provided set of structures. Predicted
Expand Down

0 comments on commit c22ee68

Please sign in to comment.