Skip to content

Commit

Permalink
Merge pull request #738 from thewtex/itk-package-detection
Browse files Browse the repository at this point in the history
Itk package detection
  • Loading branch information
thewtex authored Mar 8, 2024
2 parents f4f1c4f + 3ace387 commit 6b1e5d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/integrations/itk/SelectROI.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"# Install dependencies for this example\n",
"import sys\n",
"\n",
"!{sys.executable} -m pip install -q pooch tqdm \"itk-io>=5.3.0\" \"itk-filtering>=5.3.0\" \"itkwidgets[all]>=1.0a41\" rich"
"!{sys.executable} -m pip install -q pooch tqdm \"itk-io>=5.3.0\" \"itk-filtering>=5.3.0\" \"itkwidgets[all]>=1.0a48\" rich"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion itkwidgets/integrations/itk.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import importlib_metadata
HAVE_ITK = False
try:
itk_version = importlib_metadata.version('itk')
itk_version = importlib_metadata.version('itk-core')
if version.parse(itk_version) < version.parse('5.3.0'):
raise RuntimeError('itk 5.3 or newer is required. `pip install itk>=5.3.0`')
HAVE_ITK = True
Expand Down

0 comments on commit 6b1e5d3

Please sign in to comment.