-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade qcrit version, address pylint warnings
- Loading branch information
1 parent
5b6f902
commit 6db0043
Showing
9 changed files
with
225 additions
and
153 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -572,4 +572,4 @@ overgeneral-exceptions=BaseException, | |
|
||
[IGNORE WARNINGS] | ||
|
||
errors-only=yes | ||
# errors-only=yes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
# pylint: disable = missing-function-docstring | ||
''' | ||
Greek features | ||
''' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,19 @@ | ||
#pylint: disable = C0330 | ||
'''Run Analysis''' | ||
import sys | ||
|
||
import ml_analyzers #seemingly unused here, but this makes the environment recognize the model analyzers | ||
#seemingly unused here, but this makes the environment recognize the model analyzers | ||
import ml_analyzers #pylint: disable = unused-import | ||
|
||
import qcrit.analyze_models | ||
from qcrit.model_analyzer import DECORATED_ANALYZERS | ||
|
||
if __name__ == '__main__': | ||
qcrit.analyze_models.main( | ||
sys.argv[1] if len(sys.argv) > 1 else input('Enter filename to extract feature data: '), | ||
sys.argv[2] if len(sys.argv) > 2 else input('Enter filename to extract classification data: '), | ||
None if len(sys.argv) > 3 and sys.argv[3] == 'all' else | ||
sys.argv[3:] if len(sys.argv) > 3 else input('What would you like to do?\n' + | ||
sys.argv[1] if len(sys.argv) > 1 else input('Enter filename to extract feature data: '), | ||
sys.argv[2] if len(sys.argv) > 2 else input('Enter filename to extract classification data: '), | ||
None if len(sys.argv) > 3 and sys.argv[3] == 'all' else | ||
sys.argv[3:] if len(sys.argv) > 3 else input('What would you like to do?\n' + | ||
'\n'.join(('\t' + name for name in DECORATED_ANALYZERS)) + '\n' | ||
).split() | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters