Skip to content

Commit

Permalink
DOC: Use itk & itk-io >= v5.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bnmajor committed Jan 5, 2023
1 parent d731b39 commit 4a3dafd
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion docs/integrations.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ ITK
Install ITK:

```bash
pip install --pre itk-io
pip install itk-io
```

You can use ITK to read in and filter your data before displaying and interacting with it with the Viewer.
Expand Down
3 changes: 1 addition & 2 deletions examples/integrations/dask/DaskArray.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@
"# Install dependencies for this example\n",
"import sys\n",
"\n",
"!{sys.executable} -m pip install -q --upgrade --pre itk-io\n",
"!{sys.executable} -m pip install -q 'dask[diagnostics]' toolz scikit-image pooch matplotlib \"itkwidgets[all]>=1.0a16\""
"!{sys.executable} -m pip install -q 'dask[diagnostics]' toolz scikit-image pooch matplotlib \"itkwidgets[all]>=1.0a16\" \"itk-io>=5.3.0\""
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion examples/integrations/itk/3DImage.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"# Install dependencies for this example\n",
"import sys\n",
"\n",
"!{sys.executable} -m pip install -q pooch tqdm itk-io \"itkwidgets[all]>=1.0a16\""
"!{sys.executable} -m pip install -q \"itk-io>=5.3.0\" \"itkwidgets[all]>=1.0a16\""
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion examples/integrations/itk/DICOM.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"# Install dependencies for this example\n",
"import sys\n",
"\n",
"!{sys.executable} -m pip install -q --upgrade --pre itk-io tqdm pooch \"itkwidgets[all]>=1.0a17\""
"!{sys.executable} -m pip install -q --upgrade \"itk-io>=5.3.0\" tqdm pooch \"itkwidgets[all]>=1.0a17\""
]
},
{
Expand Down
4 changes: 2 additions & 2 deletions itkwidgets/integrations/itk.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
try:
import itk
if not hasattr(itk, '__version__') or version.parse(itk.__version__) < version.parse('5.3.0'):
raise RuntimeError('itk 5.3rc4 or newer is required. `pip install --upgrade --pre itk`')
raise RuntimeError('itk 5.3 or newer is required. `pip install itk>=5.3.0`')
HAVE_ITK = True
except ImportError:
pass
Expand All @@ -19,4 +19,4 @@ def itk_group_spatial_object_to_wasm_point_set(point_set):

else:
def itk_group_spatial_object_to_wasm_point_set(point_set):
raise RuntimeError('itk 5.3rc4 or newer is required. `pip install --upgrade --pre itk`')
raise RuntimeError('itk 5.3 or newer is required. `pip install itk>=5.3.0`')

0 comments on commit 4a3dafd

Please sign in to comment.