diff --git a/docs/developer.md b/docs/developer.md index 2c70efe..8447072 100644 --- a/docs/developer.md +++ b/docs/developer.md @@ -3,7 +3,7 @@ ## Hatch We use [Hatch](https://hatch.pypa.io/latest) to set up environments and scripts for most developer tasks. -To see a table of the available environmens and their scripts, run: +To see a table of the available environments and their scripts, run: hatch env show @@ -29,4 +29,4 @@ You can install the [pre-commit](https://pre-commit.com/) hooks with: Or run them via: - hatch run precommit:install + hatch run precommit:run diff --git a/docs/topics.md b/docs/topics.md index 0faaee4..203a92f 100644 --- a/docs/topics.md +++ b/docs/topics.md @@ -29,7 +29,7 @@ First steps are to: 1. Do a full import of all the raw `CifData`. 1. Run the `CifCleanWorkChain` for all of them. -3. "Curate" the structures with `mc3d-source curate`. +3. "Curate" the structures with `mc3d curate`. This will result in a group of "curated" structures, let's call it `mpds/v2/structure/curated`. diff --git a/docs/usage.md b/docs/usage.md index 27959d3..46f6292 100644 --- a/docs/usage.md +++ b/docs/usage.md @@ -4,7 +4,7 @@ The `mc3d-source` package comes with a CLI that takes care of most steps require After installing, run: ``` -mc3d-source --help +mc3d --help ``` To get an overview of the commands. diff --git a/src/mc3d_source/cli/commands/analyse/deprecation.py b/src/mc3d_source/cli/commands/analyse/deprecation.py index 11dea5e..026148b 100644 --- a/src/mc3d_source/cli/commands/analyse/deprecation.py +++ b/src/mc3d_source/cli/commands/analyse/deprecation.py @@ -9,7 +9,7 @@ from aiida import orm from rich import print as rprint -from mc3d_source.contants import SourceDeprecation +from mc3d_source.constants import SourceDeprecation from mc3d_source.tools.source import get_source_string if TYPE_CHECKING: @@ -80,7 +80,6 @@ def structure_updated( rprint(f"[bold yellow]Report:[/] Found {len(old_source_were_fine)} structures where the old source was fine.") new_sources_taken = new_sources.difference(old_source_were_fine) - len(new_sources_taken) versions = set() updated_sources = set() diff --git a/src/mc3d_source/contants.py b/src/mc3d_source/constants.py similarity index 100% rename from src/mc3d_source/contants.py rename to src/mc3d_source/constants.py