Skip to content

Commit

Permalink
updates for SDM3
Browse files Browse the repository at this point in the history
  • Loading branch information
giumas committed Feb 1, 2024
1 parent 53b9459 commit 9550c07
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
7 changes: 4 additions & 3 deletions hyo2/ssm2/__init__.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
"""
Hydro-Package
Sound Speed 2
Sound Speed Manager 2
"""

import os
import logging
import os

from hyo2.abc2.lib.package.pkg_info import PkgInfo

logger = logging.getLogger(__name__)
Expand All @@ -29,7 +30,7 @@
deps_dict={
"hyo2.abc2": "hyo2.abc2",
"hyo2.ssm2": "hyo2.ssm2",
"hyo2.sdm2": "hyo2.sdm2",
"hyo2.sdm3": "hyo2.sdm3",
"gsw": "gsw",
"netCDF4": "netCDF4",
"gdal": "osgeo",
Expand Down
1 change: 1 addition & 0 deletions hyo2/ssm2/app/gui/soundspeedmanager/gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ def gui():
msg_box.setWindowTitle("Multiple Instances of Sound Speed Manager")
msg_box.setIconPixmap(QtGui.QPixmap(app_info.app_icon_path).scaled(QtCore.QSize(36, 36)))
msg_box.setText('%s\n\nDo you want to continue? This might create issues.' % txt)
# noinspection PyUnresolvedReferences
msg_box.setStandardButtons(QtWidgets.QMessageBox.Yes | QtWidgets.QMessageBox.No)
msg_box.setDefaultButton(QtWidgets.QMessageBox.No)
reply = msg_box.exec_()
Expand Down
2 changes: 1 addition & 1 deletion hyo2/ssm2/app/gui/soundspeedmanager/mainwin.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def __init__(self):
self.has_sdm_support = True
try: # try.. except to make SSM working also without SDM
# noinspection PyUnresolvedReferences
from hyo2.surveydatamonitor.app.widgets.monitor import SurveyDataMonitor
from hyo2.sdm3.app.gui.surveydatamonitor.widgets.monitor import SurveyDataMonitor
self.tab_monitor = SurveyDataMonitor(lib=self.lib, main_win=self)
# noinspection PyArgumentList
self.idx_monitor = self.tabs.insertTab(3, self.tab_monitor,
Expand Down

0 comments on commit 9550c07

Please sign in to comment.