Commit 5b0f3a05 authored by Thomas Dowrick's avatar Thomas Dowrick

Linting

parent 8ae6462f
Pipeline #3959 failed with stages
in 4 minutes and 41 seconds
import logging
import sys
""" VTK Reslice widget demo. """
from PySide2 import QtWidgets
from sksurgeryvtk.widgets.vtk_reslice_widget import TrackedSliceViewer, \
MouseWheelSliceViewer
......@@ -9,7 +7,8 @@ from sksurgeryarucotracker.arucotracker import ArUcoTracker
def run_demo(tracked, dicom_dir):
qApp = QtWidgets.QApplication([])
""" Demo """
app = QtWidgets.QApplication([])
if tracked:
tracker = ArUcoTracker({})
......@@ -22,4 +21,4 @@ def run_demo(tracked, dicom_dir):
slice_viewer.start()
qApp.exec_()
\ No newline at end of file
app.exec_()
......@@ -11,7 +11,6 @@ def main(args=None):
parser = argparse.ArgumentParser(description='sksurgerytextoverlay')
version_string = __version__
friendly_version_string = version_string if version_string else 'unknown'
parser.add_argument(
......
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