Skip to content

Commit 4844349

Browse files
authored
Update readme
1 parent 0e329f1 commit 4844349

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
## Overview
99

10-
Create [Typer](https://github.com/tiangolo/typer) command line interface from functions that use [SimpleITK](https://github.com/SimpleITK/SimpleITK) images (and transforms) as arguments or return type.
10+
Create [Typer](https://github.com/tiangolo/typer) command line interface from functions that use [SimpleITK](https://github.com/SimpleITK/SimpleITK) images (and transforms) as arguments or return type.
1111

1212
```Python
1313
import SimpleITK as sitk
@@ -32,6 +32,8 @@ if __name__ == "__main__":
3232
app()
3333
```
3434

35+
To work, sitk-cli inspects the type annotations of the function and creates a wrapper function that loads images from file and passes these to the original function. Returned images (transforms) are written to a file by the wrapper function..
36+
3537
## Installation
3638

3739
```sh

0 commit comments

Comments
 (0)