Skip to content

Commit

Permalink
Switch to pyside6 (#11)
Browse files Browse the repository at this point in the history
* Switch to pyside6

* Remove class instatiation

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
AndreiSavici and pre-commit-ci[bot] authored Dec 12, 2024
1 parent 2eb2dea commit ad7de6e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
4 changes: 2 additions & 2 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ channels:
- conda-forge
dependencies:
- python>=3.10
- pyqt == 5.*
- pyside6
- qtpy
- scipy
- numpy
Expand All @@ -15,7 +15,7 @@ dependencies:
- libarchive
- anaconda-client
- boa
- conda-build < 4 # conda-build 24.x has a bug, missing update_index from conda_build.index
- conda-build # < 4 # conda-build 24.x has a bug, missing update_index from conda_build.index
- conda-verify
- python-build
- twine # for uploading to pypi and testpypi
Expand Down
8 changes: 0 additions & 8 deletions src/hyspecppt/hyspecppt.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,6 @@
class HyspecPPT(QMainWindow):
"""Main Package window"""

__instance = None

def __new__(cls):
"""Create new instance of the HyspecPPT"""
if not cls.__instance:
cls.__instance = super(HyspecPPT, cls).__new__(cls)
return cls.__instance

def __init__(self, parent=None):
"""Constructor"""
super().__init__(parent)
Expand Down

0 comments on commit ad7de6e

Please sign in to comment.