@@ -108,28 +108,28 @@ In the interactive shell, the `convert2modelcif` command is available, as well a
Be aware of the `touch .history` command before `docker run`. This makes sure a file `.history` exists before starting the Docker container. If the file does not exist, Docker will create a directory `.history` itself but that does not record the bash command history.
The [Dockerfile](./Dockerfile) has an additional build argument, `ADD_DEV`. If set to `YES`, the follwoing development tools are added to the Docker image:
-[Emacs](https://www.gnu.org/software/emacs/)
-[Black](https://black.readthedocs.io/en/stable/)
-[Pylint](https://pylint.org)
None of these are needed to run a translation script.
For working on a translation script, it is convenient to mount the complete Git repository when running the Docker container interactively. This makes sure `pyproject.toml` is available from the repository root to `black` and `pylint`:
```terminal
$touch .history
$docker run --rm-i-t-v /home/user/models:/data -v$HOME/.bashrc:/home/mmcif/.bashrc -v$(pwd)/.history:/home/mmcif/.bash_history -v$(pwd)/../:/develop -t converter:latest bash
$
```
In the session, the Git repository can be found in `/develop`.
<!-- LocalWords: TOC modelcif cd whoami localuser uid arg CONVERTERSCRIPT