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
- Change
-o output.nc to -o output in the tutorial docs.
- Change
from ants import load_cube tofrom ants.io.load import load_cube
This could possibly be combined with issue #125
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.ncresults in an error with the tutorial when saving to anancilfile. This is because ancillary files cannot be saved with a.ncextension.Also the example imports the deprecated function
ants.load_cube.Addition
-o output.ncto-o outputin the tutorial docs.from ants import load_cubetofrom ants.io.load import load_cubeThis could possibly be combined with issue #125