Skip to content

Commit

Permalink
Automated autoyapf fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Sep 9, 2024
1 parent 3c34fea commit 43abbb0
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
1 change: 1 addition & 0 deletions Wrappers/Python/ccpi/viewer/ui/main_windows.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

import ccpi.viewer.viewerLinker as vlink
import vtk

vtk.vtkObject.GlobalWarningDisplayOn()
vtk.vtkOutputWindow.GetInstance().SetGlobalWarningDisplay(True)
from ccpi.viewer import CILViewer2D, CILViewer
Expand Down
10 changes: 8 additions & 2 deletions Wrappers/Python/examples/TwoLinkedViewersCentralWidget.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,14 @@ def __init__(self, parent=None):
QtWidgets.QMainWindow.__init__(self, parent)
#self.resize(800,600)

self.frame1 = QCILViewerWidget(parent, viewer=viewer2D, shape=(600, 600), interactorStyle=vlink.Linked2DInteractorStyle)
self.frame2 = QCILViewerWidget(parent, viewer=viewer3D, shape=(600, 600), interactorStyle=vlink.Linked3DInteractorStyle)
self.frame1 = QCILViewerWidget(parent,
viewer=viewer2D,
shape=(600, 600),
interactorStyle=vlink.Linked2DInteractorStyle)
self.frame2 = QCILViewerWidget(parent,
viewer=viewer3D,
shape=(600, 600),
interactorStyle=vlink.Linked3DInteractorStyle)

head = example_data.HEAD.get()

Expand Down
1 change: 1 addition & 0 deletions Wrappers/Python/examples/image_reader_and_writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
from ccpi.viewer.iviewer import iviewer
import numpy as np
import vtk

vtk.vtkObject.GlobalWarningDisplayOn()
vtk.vtkOutputWindow.GetInstance().SetGlobalWarningDisplay(True)

Expand Down

0 comments on commit 43abbb0

Please sign in to comment.