Skip to content

Commit

Permalink
Issue #26 update to pyside6
Browse files Browse the repository at this point in the history
  • Loading branch information
thompson318 committed May 4, 2023
1 parent 294fe2c commit 8ec3432
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
# It is used by pip to manage software dependencies. It is not to be
# confused with the software requirements, which are listed in
# doc/requirements.rst
scikit-surgeryutils>=1.2.1
scikit-surgeryutils>=2.0rc0
scikit-surgerynditracker
scikit-surgeryarucotracker
scikit-surgeryimage>=0.6.0
PySide2
PySide6
numpy
opencv-contrib-python
2 changes: 1 addition & 1 deletion snappysonic/algorithms/algorithms.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Functions for snappysonic"""
from numpy import iinfo, int16
from PySide2.QtGui import QPixmap, QImage
from PySide6.QtGui import QPixmap, QImage
from sksurgerynditracker.nditracker import NDITracker
from sksurgeryarucotracker.arucotracker import ArUcoTracker

Expand Down
2 changes: 1 addition & 1 deletion snappysonic/overlay_widget/overlay.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

"""Main loop for tracking visualisation"""
from packaging import version
from PySide2.QtWidgets import QLabel, QWidget
from PySide6.QtWidgets import QLabel, QWidget
from cv2 import (rectangle, putText, circle, imread)
from numpy import zeros, uint8
from sksurgeryutils.common_overlay_apps import OverlayBaseWidget
Expand Down
2 changes: 1 addition & 1 deletion snappysonic/ui/snappysonic_demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

"""SnappySonicdemo module"""

from PySide2.QtWidgets import QApplication
from PySide6.QtWidgets import QApplication
from sksurgerycore.configuration.configuration_manager import (
ConfigurationManager
)
Expand Down
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

""" Creates the QT app """
import pytest
from PySide2.QtWidgets import QApplication
from PySide6.QtWidgets import QApplication

@pytest.fixture(scope="session")
def setup_qt():
Expand Down
2 changes: 1 addition & 1 deletion tests/pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ unsafe-load-any-extension=no
# A comma-separated list of package or module names from where C extensions may
# be loaded. Extensions are loading into the active Python interpreter and may
# run arbitrary code
extension-pkg-whitelist=numpy, PySide2, cv2
extension-pkg-whitelist=numpy, PySide6, cv2

[MESSAGES CONTROL]

Expand Down

0 comments on commit 8ec3432

Please sign in to comment.