Updates to the tutorial documentation
@alasdair-roy is already working on this.
Since Jul 23, 2026.
- Dominant language
- Python
- Stars
- 7
- Forks
- 10
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 5
Description
The tutorial documentation seems to have some minor issues.
Running the command `python ancil_tutorial.py /path/to/sample_source.nc --target-grid /path/to/sample_target.nc -o output.nc` results in an error with the tutorial when saving to an `ancil` file. This is because ancillary files cannot be saved with a `.nc` extension.
Also the example imports the deprecated function `ants.load_cube`.
## Addition
1. Change `-o output.nc` to `-o output` in the tutorial docs.
2. Change `from ants import load_cube` to`from ants.io.load import load_cube`
This could possibly be combined with issue #125
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.