Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
minor fixes to CI + SIS Emulator switcht to PySide2
- Loading branch information
giumas
committed
Dec 1, 2018
1 parent
2eb97aa
commit 62cb2cd
Showing
20 changed files
with
1,174 additions
and
22 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
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
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
""" | ||
Hydro-Package | ||
SIS | ||
""" | ||
|
||
import logging | ||
log = logging.getLogger(__name__) | ||
log.addHandler(logging.NullHandler()) | ||
|
||
name = "SIS" | ||
__version__ = '0.4.0' | ||
__author__ = 'gmasetti@ccom.unh.edu' | ||
__license__ = 'LGPLv3 license' | ||
__copyright__ = 'Copyright 2019 University of New Hampshire, Center for Coastal and Ocean Mapping' | ||
|
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 |
---|---|---|
@@ -0,0 +1,30 @@ | ||
import logging | ||
import sys | ||
from multiprocessing import freeze_support | ||
|
||
from PySide import QtGui | ||
|
||
logger = logging.getLogger() | ||
logger.setLevel(logging.NOTSET) | ||
ch = logging.StreamHandler() | ||
ch.setLevel(logging.DEBUG) # change to WARNING to reduce verbosity, DEBUG for high verbosity | ||
ch_formatter = logging.Formatter('%(levelname)-9s %(name)s.%(funcName)s:%(lineno)d > %(message)s') | ||
ch.setFormatter(ch_formatter) | ||
logger.addHandler(ch) | ||
|
||
from hyo2.sis.gui import mainwin | ||
|
||
|
||
def sis_gui(): | ||
"""create the main windows and the event loop""" | ||
|
||
app = QtWidgets.QApplication(sys.argv) | ||
|
||
main = mainwin.MainWin() | ||
main.show() | ||
|
||
sys.exit(app.exec_()) | ||
|
||
if __name__ == '__main__': | ||
freeze_support() | ||
sis_gui() |
Empty file.
Oops, something went wrong.