Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "remove old pyqt code" #447

Merged
merged 1 commit into from
Nov 8, 2024
Merged

Revert "remove old pyqt code" #447

merged 1 commit into from
Nov 8, 2024

Conversation

timosachsenberg
Copy link
Contributor

This reverts commit 5c5dfc1.

Which broke some notebooks

This reverts commit 5c5dfc1.
@timosachsenberg timosachsenberg merged commit c9b8e09 into master Nov 8, 2024
3 of 5 checks passed
Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lintly has detected code quality issues in this pull request.

accession = self.PSMFull[item.row()][2].split("|", 2)[1]

webbrowser.open("https://www.uniprot.org/uniprot/" + accession)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

W391: blank line at end of file




def initTables(self):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

E303: too many blank lines (3)

self.fileLoaded = True


def parser(self, file):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

E303: too many blank lines (2)

import sys
import webbrowser
from PyQt5 import QtGui, QtWidgets
from PyQt5.QtWidgets import QApplication, QWidget, QTableWidget, QVBoxLayout, QTableWidgetItem, QPushButton, QFileDialog
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

F401: 'PyQt5.QtWidgets.QFileDialog' imported but unused

import sys
import webbrowser
from PyQt5 import QtGui, QtWidgets
from PyQt5.QtWidgets import QApplication, QWidget, QTableWidget, QVBoxLayout, QTableWidgetItem, QPushButton, QFileDialog
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

F401: 'PyQt5.QtWidgets.QPushButton' imported but unused

@@ -0,0 +1,817 @@
import sys
from PyQt5 import QtWidgets
from PyQt5.QtWidgets import (QWidget, QToolTip,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

F401: 'PyQt5.QtWidgets.QAction' imported but unused

@@ -0,0 +1,817 @@
import sys
from PyQt5 import QtWidgets
from PyQt5.QtWidgets import (QWidget, QToolTip,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

F401: 'PyQt5.QtWidgets.QPushButton' imported but unused

@@ -0,0 +1,817 @@
import sys
from PyQt5 import QtWidgets
from PyQt5.QtWidgets import (QWidget, QToolTip,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

F401: 'PyQt5.QtWidgets.QToolTip' imported but unused

"""
booleans_dictionary[file_type] = True

#returns the boolean for the file
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

E265: block comment should start with '# '


#changes the value to true if file loaded,
#should be used whenever loading data
#in to the dictionary manually
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

E265: block comment should start with '# '

@timosachsenberg timosachsenberg deleted the revert_remove branch November 8, 2024 07:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant