Skip to content

Commit

Permalink
Merge pull request #2435 from astrofrog/add-back-parsers-qglue
Browse files Browse the repository at this point in the history
Add back parsing functions to qglue temporarily
  • Loading branch information
astrofrog authored Aug 17, 2023
2 parents 4305f0b + 493b5d0 commit 29c55b4
Show file tree
Hide file tree
Showing 116 changed files with 130 additions and 116 deletions.
2 changes: 1 addition & 1 deletion glue/app/qt/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import warnings
from glue.utils.error import GlueDeprecationWarning
warnings.warn('Importing from glue.app.qt is deprecated, use glue_qt.app) instead', GlueDeprecationWarning)
warnings.warn('Importing from glue.app.qt is deprecated, use glue_qt.app instead', GlueDeprecationWarning)
from glue_qt.app import * # noqa
2 changes: 1 addition & 1 deletion glue/app/qt/actions.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import warnings
from glue.utils.error import GlueDeprecationWarning
warnings.warn('Importing from glue.app.qt.actions is deprecated, use glue_qt.app.actions) instead', GlueDeprecationWarning)
warnings.warn('Importing from glue.app.qt.actions is deprecated, use glue_qt.app.actions instead', GlueDeprecationWarning)
from glue_qt.app.actions import * # noqa
2 changes: 1 addition & 1 deletion glue/app/qt/application.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import warnings
from glue.utils.error import GlueDeprecationWarning
warnings.warn('Importing from glue.app.qt.application is deprecated, use glue_qt.app.application) instead', GlueDeprecationWarning)
warnings.warn('Importing from glue.app.qt.application is deprecated, use glue_qt.app.application instead', GlueDeprecationWarning)
from glue_qt.app.application import * # noqa
2 changes: 1 addition & 1 deletion glue/app/qt/edit_subset_mode_toolbar.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import warnings
from glue.utils.error import GlueDeprecationWarning
warnings.warn('Importing from glue.app.qt.edit_subset_mode_toolbar is deprecated, use glue_qt.app.edit_subset_mode_toolbar) instead', GlueDeprecationWarning)
warnings.warn('Importing from glue.app.qt.edit_subset_mode_toolbar is deprecated, use glue_qt.app.edit_subset_mode_toolbar instead', GlueDeprecationWarning)
from glue_qt.app.edit_subset_mode_toolbar import * # noqa
2 changes: 1 addition & 1 deletion glue/app/qt/feedback.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import warnings
from glue.utils.error import GlueDeprecationWarning
warnings.warn('Importing from glue.app.qt.feedback is deprecated, use glue_qt.app.feedback) instead', GlueDeprecationWarning)
warnings.warn('Importing from glue.app.qt.feedback is deprecated, use glue_qt.app.feedback instead', GlueDeprecationWarning)
from glue_qt.app.feedback import * # noqa
2 changes: 1 addition & 1 deletion glue/app/qt/keyboard_shortcuts.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import warnings
from glue.utils.error import GlueDeprecationWarning
warnings.warn('Importing from glue.app.qt.keyboard_shortcuts is deprecated, use glue_qt.app.keyboard_shortcuts) instead', GlueDeprecationWarning)
warnings.warn('Importing from glue.app.qt.keyboard_shortcuts is deprecated, use glue_qt.app.keyboard_shortcuts instead', GlueDeprecationWarning)
from glue_qt.app.keyboard_shortcuts import * # noqa
2 changes: 1 addition & 1 deletion glue/app/qt/layer_tree_widget.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import warnings
from glue.utils.error import GlueDeprecationWarning
warnings.warn('Importing from glue.app.qt.layer_tree_widget is deprecated, use glue_qt.app.layer_tree_widget) instead', GlueDeprecationWarning)
warnings.warn('Importing from glue.app.qt.layer_tree_widget is deprecated, use glue_qt.app.layer_tree_widget instead', GlueDeprecationWarning)
from glue_qt.app.layer_tree_widget import * # noqa
2 changes: 1 addition & 1 deletion glue/app/qt/mdi_area.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import warnings
from glue.utils.error import GlueDeprecationWarning
warnings.warn('Importing from glue.app.qt.mdi_area is deprecated, use glue_qt.app.mdi_area) instead', GlueDeprecationWarning)
warnings.warn('Importing from glue.app.qt.mdi_area is deprecated, use glue_qt.app.mdi_area instead', GlueDeprecationWarning)
from glue_qt.app.mdi_area import * # noqa
2 changes: 1 addition & 1 deletion glue/app/qt/metadata.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import warnings
from glue.utils.error import GlueDeprecationWarning
warnings.warn('Importing from glue.app.qt.metadata is deprecated, use glue_qt.app.metadata) instead', GlueDeprecationWarning)
warnings.warn('Importing from glue.app.qt.metadata is deprecated, use glue_qt.app.metadata instead', GlueDeprecationWarning)
from glue_qt.app.metadata import * # noqa
2 changes: 1 addition & 1 deletion glue/app/qt/plugin_manager.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import warnings
from glue.utils.error import GlueDeprecationWarning
warnings.warn('Importing from glue.app.qt.plugin_manager is deprecated, use glue_qt.app.plugin_manager) instead', GlueDeprecationWarning)
warnings.warn('Importing from glue.app.qt.plugin_manager is deprecated, use glue_qt.app.plugin_manager instead', GlueDeprecationWarning)
from glue_qt.app.plugin_manager import * # noqa
2 changes: 1 addition & 1 deletion glue/app/qt/preferences.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import warnings
from glue.utils.error import GlueDeprecationWarning
warnings.warn('Importing from glue.app.qt.preferences is deprecated, use glue_qt.app.preferences) instead', GlueDeprecationWarning)
warnings.warn('Importing from glue.app.qt.preferences is deprecated, use glue_qt.app.preferences instead', GlueDeprecationWarning)
from glue_qt.app.preferences import * # noqa
2 changes: 1 addition & 1 deletion glue/app/qt/save_data.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import warnings
from glue.utils.error import GlueDeprecationWarning
warnings.warn('Importing from glue.app.qt.save_data is deprecated, use glue_qt.app.save_data) instead', GlueDeprecationWarning)
warnings.warn('Importing from glue.app.qt.save_data is deprecated, use glue_qt.app.save_data instead', GlueDeprecationWarning)
from glue_qt.app.save_data import * # noqa
2 changes: 1 addition & 1 deletion glue/app/qt/splash_screen.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import warnings
from glue.utils.error import GlueDeprecationWarning
warnings.warn('Importing from glue.app.qt.splash_screen is deprecated, use glue_qt.app.splash_screen) instead', GlueDeprecationWarning)
warnings.warn('Importing from glue.app.qt.splash_screen is deprecated, use glue_qt.app.splash_screen instead', GlueDeprecationWarning)
from glue_qt.app.splash_screen import * # noqa
2 changes: 1 addition & 1 deletion glue/app/qt/terminal.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import warnings
from glue.utils.error import GlueDeprecationWarning
warnings.warn('Importing from glue.app.qt.terminal is deprecated, use glue_qt.app.terminal) instead', GlueDeprecationWarning)
warnings.warn('Importing from glue.app.qt.terminal is deprecated, use glue_qt.app.terminal instead', GlueDeprecationWarning)
from glue_qt.app.terminal import * # noqa
2 changes: 1 addition & 1 deletion glue/app/qt/versions.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import warnings
from glue.utils.error import GlueDeprecationWarning
warnings.warn('Importing from glue.app.qt.versions is deprecated, use glue_qt.app.versions) instead', GlueDeprecationWarning)
warnings.warn('Importing from glue.app.qt.versions is deprecated, use glue_qt.app.versions instead', GlueDeprecationWarning)
from glue_qt.app.versions import * # noqa
2 changes: 1 addition & 1 deletion glue/core/data_exporters/qt/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import warnings
from glue.utils.error import GlueDeprecationWarning
warnings.warn('Importing from glue.core.data_exporters.qt is deprecated, use glue_qt.core.data_exporters) instead', GlueDeprecationWarning)
warnings.warn('Importing from glue.core.data_exporters.qt is deprecated, use glue_qt.core.data_exporters instead', GlueDeprecationWarning)
from glue_qt.core.data_exporters import * # noqa
2 changes: 1 addition & 1 deletion glue/core/data_exporters/qt/dialog.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import warnings
from glue.utils.error import GlueDeprecationWarning
warnings.warn('Importing from glue.core.data_exporters.qt.dialog is deprecated, use glue_qt.core.data_exporters.dialog) instead', GlueDeprecationWarning)
warnings.warn('Importing from glue.core.data_exporters.qt.dialog is deprecated, use glue_qt.core.data_exporters.dialog instead', GlueDeprecationWarning)
from glue_qt.core.data_exporters.dialog import * # noqa
2 changes: 1 addition & 1 deletion glue/core/qt/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import warnings
from glue.utils.error import GlueDeprecationWarning
warnings.warn('Importing from glue.core.qt is deprecated, use glue_qt.core) instead', GlueDeprecationWarning)
warnings.warn('Importing from glue.core.qt is deprecated, use glue_qt.core instead', GlueDeprecationWarning)
from glue_qt.core import * # noqa
2 changes: 1 addition & 1 deletion glue/core/qt/data_collection_model.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import warnings
from glue.utils.error import GlueDeprecationWarning
warnings.warn('Importing from glue.core.qt.data_collection_model is deprecated, use glue_qt.core.data_collection_model) instead', GlueDeprecationWarning)
warnings.warn('Importing from glue.core.qt.data_collection_model is deprecated, use glue_qt.core.data_collection_model instead', GlueDeprecationWarning)
from glue_qt.core.data_collection_model import * # noqa
2 changes: 1 addition & 1 deletion glue/core/qt/dialogs.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import warnings
from glue.utils.error import GlueDeprecationWarning
warnings.warn('Importing from glue.core.qt.dialogs is deprecated, use glue_qt.core.dialogs) instead', GlueDeprecationWarning)
warnings.warn('Importing from glue.core.qt.dialogs is deprecated, use glue_qt.core.dialogs instead', GlueDeprecationWarning)
from glue_qt.core.dialogs import * # noqa
2 changes: 1 addition & 1 deletion glue/core/qt/fitters.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import warnings
from glue.utils.error import GlueDeprecationWarning
warnings.warn('Importing from glue.core.qt.fitters is deprecated, use glue_qt.core.fitters) instead', GlueDeprecationWarning)
warnings.warn('Importing from glue.core.qt.fitters is deprecated, use glue_qt.core.fitters instead', GlueDeprecationWarning)
from glue_qt.core.fitters import * # noqa
2 changes: 1 addition & 1 deletion glue/core/qt/layer_artist_model.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import warnings
from glue.utils.error import GlueDeprecationWarning
warnings.warn('Importing from glue.core.qt.layer_artist_model is deprecated, use glue_qt.core.layer_artist_model) instead', GlueDeprecationWarning)
warnings.warn('Importing from glue.core.qt.layer_artist_model is deprecated, use glue_qt.core.layer_artist_model instead', GlueDeprecationWarning)
from glue_qt.core.layer_artist_model import * # noqa
2 changes: 1 addition & 1 deletion glue/core/qt/message_widget.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import warnings
from glue.utils.error import GlueDeprecationWarning
warnings.warn('Importing from glue.core.qt.message_widget is deprecated, use glue_qt.core.message_widget) instead', GlueDeprecationWarning)
warnings.warn('Importing from glue.core.qt.message_widget is deprecated, use glue_qt.core.message_widget instead', GlueDeprecationWarning)
from glue_qt.core.message_widget import * # noqa
2 changes: 1 addition & 1 deletion glue/core/qt/mime.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import warnings
from glue.utils.error import GlueDeprecationWarning
warnings.warn('Importing from glue.core.qt.mime is deprecated, use glue_qt.core.mime) instead', GlueDeprecationWarning)
warnings.warn('Importing from glue.core.qt.mime is deprecated, use glue_qt.core.mime instead', GlueDeprecationWarning)
from glue_qt.core.mime import * # noqa
2 changes: 1 addition & 1 deletion glue/core/qt/simpleforms.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import warnings
from glue.utils.error import GlueDeprecationWarning
warnings.warn('Importing from glue.core.qt.simpleforms is deprecated, use glue_qt.core.simpleforms) instead', GlueDeprecationWarning)
warnings.warn('Importing from glue.core.qt.simpleforms is deprecated, use glue_qt.core.simpleforms instead', GlueDeprecationWarning)
from glue_qt.core.simpleforms import * # noqa
2 changes: 1 addition & 1 deletion glue/core/qt/style_dialog.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import warnings
from glue.utils.error import GlueDeprecationWarning
warnings.warn('Importing from glue.core.qt.style_dialog is deprecated, use glue_qt.core.style_dialog) instead', GlueDeprecationWarning)
warnings.warn('Importing from glue.core.qt.style_dialog is deprecated, use glue_qt.core.style_dialog instead', GlueDeprecationWarning)
from glue_qt.core.style_dialog import * # noqa
2 changes: 1 addition & 1 deletion glue/dialogs/autolinker/qt/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import warnings
from glue.utils.error import GlueDeprecationWarning
warnings.warn('Importing from glue.dialogs.autolinker.qt is deprecated, use glue_qt.dialogs.autolinker) instead', GlueDeprecationWarning)
warnings.warn('Importing from glue.dialogs.autolinker.qt is deprecated, use glue_qt.dialogs.autolinker instead', GlueDeprecationWarning)
from glue_qt.dialogs.autolinker import * # noqa
2 changes: 1 addition & 1 deletion glue/dialogs/autolinker/qt/autolinker.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import warnings
from glue.utils.error import GlueDeprecationWarning
warnings.warn('Importing from glue.dialogs.autolinker.qt.autolinker is deprecated, use glue_qt.dialogs.autolinker.autolinker) instead', GlueDeprecationWarning)
warnings.warn('Importing from glue.dialogs.autolinker.qt.autolinker is deprecated, use glue_qt.dialogs.autolinker.autolinker instead', GlueDeprecationWarning)
from glue_qt.dialogs.autolinker.autolinker import * # noqa
2 changes: 1 addition & 1 deletion glue/dialogs/common/qt/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import warnings
from glue.utils.error import GlueDeprecationWarning
warnings.warn('Importing from glue.dialogs.common.qt is deprecated, use glue_qt.dialogs.common) instead', GlueDeprecationWarning)
warnings.warn('Importing from glue.dialogs.common.qt is deprecated, use glue_qt.dialogs.common instead', GlueDeprecationWarning)
from glue_qt.dialogs.common import * # noqa
2 changes: 1 addition & 1 deletion glue/dialogs/common/qt/component_tree_widget.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import warnings
from glue.utils.error import GlueDeprecationWarning
warnings.warn('Importing from glue.dialogs.common.qt.component_tree_widget is deprecated, use glue_qt.dialogs.common.component_tree_widget) instead', GlueDeprecationWarning)
warnings.warn('Importing from glue.dialogs.common.qt.component_tree_widget is deprecated, use glue_qt.dialogs.common.component_tree_widget instead', GlueDeprecationWarning)
from glue_qt.dialogs.common.component_tree_widget import * # noqa
2 changes: 1 addition & 1 deletion glue/dialogs/component_arithmetic/qt/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import warnings
from glue.utils.error import GlueDeprecationWarning
warnings.warn('Importing from glue.dialogs.component_arithmetic.qt is deprecated, use glue_qt.dialogs.component_arithmetic) instead', GlueDeprecationWarning)
warnings.warn('Importing from glue.dialogs.component_arithmetic.qt is deprecated, use glue_qt.dialogs.component_arithmetic instead', GlueDeprecationWarning)
from glue_qt.dialogs.component_arithmetic import * # noqa
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import warnings
from glue.utils.error import GlueDeprecationWarning
warnings.warn('Importing from glue.dialogs.component_arithmetic.qt.component_arithmetic is deprecated, use glue_qt.dialogs.component_arithmetic.component_arithmetic) instead', GlueDeprecationWarning)
warnings.warn('Importing from glue.dialogs.component_arithmetic.qt.component_arithmetic is deprecated, use glue_qt.dialogs.component_arithmetic.component_arithmetic instead', GlueDeprecationWarning)
from glue_qt.dialogs.component_arithmetic.component_arithmetic import * # noqa
2 changes: 1 addition & 1 deletion glue/dialogs/component_arithmetic/qt/equation_editor.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import warnings
from glue.utils.error import GlueDeprecationWarning
warnings.warn('Importing from glue.dialogs.component_arithmetic.qt.equation_editor is deprecated, use glue_qt.dialogs.component_arithmetic.equation_editor) instead', GlueDeprecationWarning)
warnings.warn('Importing from glue.dialogs.component_arithmetic.qt.equation_editor is deprecated, use glue_qt.dialogs.component_arithmetic.equation_editor instead', GlueDeprecationWarning)
from glue_qt.dialogs.component_arithmetic.equation_editor import * # noqa
2 changes: 1 addition & 1 deletion glue/dialogs/component_manager/qt/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import warnings
from glue.utils.error import GlueDeprecationWarning
warnings.warn('Importing from glue.dialogs.component_manager.qt is deprecated, use glue_qt.dialogs.component_manager) instead', GlueDeprecationWarning)
warnings.warn('Importing from glue.dialogs.component_manager.qt is deprecated, use glue_qt.dialogs.component_manager instead', GlueDeprecationWarning)
from glue_qt.dialogs.component_manager import * # noqa
2 changes: 1 addition & 1 deletion glue/dialogs/component_manager/qt/component_manager.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import warnings
from glue.utils.error import GlueDeprecationWarning
warnings.warn('Importing from glue.dialogs.component_manager.qt.component_manager is deprecated, use glue_qt.dialogs.component_manager.component_manager) instead', GlueDeprecationWarning)
warnings.warn('Importing from glue.dialogs.component_manager.qt.component_manager is deprecated, use glue_qt.dialogs.component_manager.component_manager instead', GlueDeprecationWarning)
from glue_qt.dialogs.component_manager.component_manager import * # noqa
2 changes: 1 addition & 1 deletion glue/dialogs/data_wizard/qt/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import warnings
from glue.utils.error import GlueDeprecationWarning
warnings.warn('Importing from glue.dialogs.data_wizard.qt is deprecated, use glue_qt.dialogs.data_wizard) instead', GlueDeprecationWarning)
warnings.warn('Importing from glue.dialogs.data_wizard.qt is deprecated, use glue_qt.dialogs.data_wizard instead', GlueDeprecationWarning)
from glue_qt.dialogs.data_wizard import * # noqa
2 changes: 1 addition & 1 deletion glue/dialogs/data_wizard/qt/data_wizard_dialog.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import warnings
from glue.utils.error import GlueDeprecationWarning
warnings.warn('Importing from glue.dialogs.data_wizard.qt.data_wizard_dialog is deprecated, use glue_qt.dialogs.data_wizard.data_wizard_dialog) instead', GlueDeprecationWarning)
warnings.warn('Importing from glue.dialogs.data_wizard.qt.data_wizard_dialog is deprecated, use glue_qt.dialogs.data_wizard.data_wizard_dialog instead', GlueDeprecationWarning)
from glue_qt.dialogs.data_wizard.data_wizard_dialog import * # noqa
2 changes: 1 addition & 1 deletion glue/dialogs/link_editor/qt/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import warnings
from glue.utils.error import GlueDeprecationWarning
warnings.warn('Importing from glue.dialogs.link_editor.qt is deprecated, use glue_qt.dialogs.link_editor) instead', GlueDeprecationWarning)
warnings.warn('Importing from glue.dialogs.link_editor.qt is deprecated, use glue_qt.dialogs.link_editor instead', GlueDeprecationWarning)
from glue_qt.dialogs.link_editor import * # noqa
2 changes: 1 addition & 1 deletion glue/dialogs/link_editor/qt/data_graph.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import warnings
from glue.utils.error import GlueDeprecationWarning
warnings.warn('Importing from glue.dialogs.link_editor.qt.data_graph is deprecated, use glue_qt.dialogs.link_editor.data_graph) instead', GlueDeprecationWarning)
warnings.warn('Importing from glue.dialogs.link_editor.qt.data_graph is deprecated, use glue_qt.dialogs.link_editor.data_graph instead', GlueDeprecationWarning)
from glue_qt.dialogs.link_editor.data_graph import * # noqa
2 changes: 1 addition & 1 deletion glue/dialogs/link_editor/qt/link_editor.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import warnings
from glue.utils.error import GlueDeprecationWarning
warnings.warn('Importing from glue.dialogs.link_editor.qt.link_editor is deprecated, use glue_qt.dialogs.link_editor.link_editor) instead', GlueDeprecationWarning)
warnings.warn('Importing from glue.dialogs.link_editor.qt.link_editor is deprecated, use glue_qt.dialogs.link_editor.link_editor instead', GlueDeprecationWarning)
from glue_qt.dialogs.link_editor.link_editor import * # noqa
2 changes: 1 addition & 1 deletion glue/dialogs/subset_facet/qt/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import warnings
from glue.utils.error import GlueDeprecationWarning
warnings.warn('Importing from glue.dialogs.subset_facet.qt is deprecated, use glue_qt.dialogs.subset_facet) instead', GlueDeprecationWarning)
warnings.warn('Importing from glue.dialogs.subset_facet.qt is deprecated, use glue_qt.dialogs.subset_facet instead', GlueDeprecationWarning)
from glue_qt.dialogs.subset_facet import * # noqa
2 changes: 1 addition & 1 deletion glue/dialogs/subset_facet/qt/subset_facet.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import warnings
from glue.utils.error import GlueDeprecationWarning
warnings.warn('Importing from glue.dialogs.subset_facet.qt.subset_facet is deprecated, use glue_qt.dialogs.subset_facet.subset_facet) instead', GlueDeprecationWarning)
warnings.warn('Importing from glue.dialogs.subset_facet.qt.subset_facet is deprecated, use glue_qt.dialogs.subset_facet.subset_facet instead', GlueDeprecationWarning)
from glue_qt.dialogs.subset_facet.subset_facet import * # noqa
2 changes: 1 addition & 1 deletion glue/icons/qt/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import warnings
from glue.utils.error import GlueDeprecationWarning
warnings.warn('Importing from glue.icons.qt is deprecated, use glue_qt.icons) instead', GlueDeprecationWarning)
warnings.warn('Importing from glue.icons.qt is deprecated, use glue_qt.icons instead', GlueDeprecationWarning)
from glue_qt.icons import * # noqa
2 changes: 1 addition & 1 deletion glue/icons/qt/helpers.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import warnings
from glue.utils.error import GlueDeprecationWarning
warnings.warn('Importing from glue.icons.qt.helpers is deprecated, use glue_qt.icons.helpers) instead', GlueDeprecationWarning)
warnings.warn('Importing from glue.icons.qt.helpers is deprecated, use glue_qt.icons.helpers instead', GlueDeprecationWarning)
from glue_qt.icons.helpers import * # noqa
2 changes: 1 addition & 1 deletion glue/io/qt/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import warnings
from glue.utils.error import GlueDeprecationWarning
warnings.warn('Importing from glue.io.qt is deprecated, use glue_qt.io) instead', GlueDeprecationWarning)
warnings.warn('Importing from glue.io.qt is deprecated, use glue_qt.io instead', GlueDeprecationWarning)
from glue_qt.io import * # noqa
2 changes: 1 addition & 1 deletion glue/io/qt/directory_importer/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import warnings
from glue.utils.error import GlueDeprecationWarning
warnings.warn('Importing from glue.io.qt.directory_importer is deprecated, use glue_qt.io.directory_importer) instead', GlueDeprecationWarning)
warnings.warn('Importing from glue.io.qt.directory_importer is deprecated, use glue_qt.io.directory_importer instead', GlueDeprecationWarning)
from glue_qt.io.directory_importer import * # noqa
2 changes: 1 addition & 1 deletion glue/io/qt/directory_importer/directory_importer.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import warnings
from glue.utils.error import GlueDeprecationWarning
warnings.warn('Importing from glue.io.qt.directory_importer.directory_importer is deprecated, use glue_qt.io.directory_importer.directory_importer) instead', GlueDeprecationWarning)
warnings.warn('Importing from glue.io.qt.directory_importer.directory_importer is deprecated, use glue_qt.io.directory_importer.directory_importer instead', GlueDeprecationWarning)
from glue_qt.io.directory_importer.directory_importer import * # noqa
2 changes: 1 addition & 1 deletion glue/io/qt/subset_mask.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import warnings
from glue.utils.error import GlueDeprecationWarning
warnings.warn('Importing from glue.io.qt.subset_mask is deprecated, use glue_qt.io.subset_mask) instead', GlueDeprecationWarning)
warnings.warn('Importing from glue.io.qt.subset_mask is deprecated, use glue_qt.io.subset_mask instead', GlueDeprecationWarning)
from glue_qt.io.subset_mask import * # noqa
Loading

0 comments on commit 29c55b4

Please sign in to comment.