Commit f4a35633 authored by Thomas Dowrick's avatar Thomas Dowrick

Issue #90: Use try/except block to avoid error when user doesn't have surgeryarucotracker installed

parent a5ba7b5c
Pipeline #3951 passed with stages
in 7 minutes and 37 seconds
......@@ -12,7 +12,12 @@ import sys
from PySide2 import QtWidgets
from sksurgeryvtk.widgets.vtk_reslice_widget import TrackedSliceViewer, \
MouseWheelSliceViewer
from sksurgeryarucotracker.arucotracker import ArUcoTracker
try:
from sksurgeryarucotrackers.arucotracker import ArUcoTracker
except:
print("scikit-surgeryarucotracker not installed, \
please install if you want to run the tracker example.")
qApp = QtWidgets.QApplication([])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment