-
Notifications
You must be signed in to change notification settings - Fork 55
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
Conversation
This reverts commit 5c5dfc1.
There was a problem hiding this 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) | ||
|
There was a problem hiding this comment.
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): |
There was a problem hiding this comment.
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): |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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, |
There was a problem hiding this comment.
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, |
There was a problem hiding this comment.
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, |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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 '# '
This reverts commit 5c5dfc1.
Which broke some notebooks