Skip to content
Snippets Groups Projects

Local itk-vtk-viewer

1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
+ 1
1
@@ -151,7 +151,7 @@ def main():
except qim3d.viz.NotInstalledError as err:
print(err)
message = "Itk-vtk-viewer is not installed or qim3d can not find it.\nYou can:\n\t1) Use 'qim3d viz SOURCE -m k3d' to display data using different method\n\t2) Install itk-vtk-viewer yourself following https://kitware.github.io/itk-vtk-viewer/docs/cli.html#Installation\n\t3) Let QIM3D install itk-vtk-viewer now (it will also install node.js in qim3d library)\nDo you want QIM3D to install itk-vtk-viewer now?"
message = "Itk-vtk-viewer is not installed or qim3d can not find it.\nYou can either:\n\to Use 'qim3d viz SOURCE -m k3d' to display data using different method\n\to Install itk-vtk-viewer yourself following https://kitware.github.io/itk-vtk-viewer/docs/cli.html#Installation\n\to Let QIM3D install itk-vtk-viewer now (it will also install node.js in qim3d library)\nDo you want QIM3D to install itk-vtk-viewer now?"
print(message)
answer = input("[Y/n]:")
if answer in 'Yy':
Loading