diff --git a/glue/app/qt/__init__.py b/glue/app/qt/__init__.py index 5130cc5ca..c8a89500b 100644 --- a/glue/app/qt/__init__.py +++ b/glue/app/qt/__init__.py @@ -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 diff --git a/glue/app/qt/actions.py b/glue/app/qt/actions.py index 02548a4cd..070bb1d7b 100644 --- a/glue/app/qt/actions.py +++ b/glue/app/qt/actions.py @@ -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 diff --git a/glue/app/qt/application.py b/glue/app/qt/application.py index 43bd32316..4f59db281 100644 --- a/glue/app/qt/application.py +++ b/glue/app/qt/application.py @@ -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 diff --git a/glue/app/qt/edit_subset_mode_toolbar.py b/glue/app/qt/edit_subset_mode_toolbar.py index c403f52c0..417a14ea3 100644 --- a/glue/app/qt/edit_subset_mode_toolbar.py +++ b/glue/app/qt/edit_subset_mode_toolbar.py @@ -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 diff --git a/glue/app/qt/feedback.py b/glue/app/qt/feedback.py index 2048985cd..0750eb2bb 100644 --- a/glue/app/qt/feedback.py +++ b/glue/app/qt/feedback.py @@ -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 diff --git a/glue/app/qt/keyboard_shortcuts.py b/glue/app/qt/keyboard_shortcuts.py index f713a09de..5c3917eee 100644 --- a/glue/app/qt/keyboard_shortcuts.py +++ b/glue/app/qt/keyboard_shortcuts.py @@ -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 diff --git a/glue/app/qt/layer_tree_widget.py b/glue/app/qt/layer_tree_widget.py index 76cb0b585..c1d0b0910 100644 --- a/glue/app/qt/layer_tree_widget.py +++ b/glue/app/qt/layer_tree_widget.py @@ -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 diff --git a/glue/app/qt/mdi_area.py b/glue/app/qt/mdi_area.py index f2f126f32..54092e4ab 100644 --- a/glue/app/qt/mdi_area.py +++ b/glue/app/qt/mdi_area.py @@ -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 diff --git a/glue/app/qt/metadata.py b/glue/app/qt/metadata.py index ce719b2f1..44ace5293 100644 --- a/glue/app/qt/metadata.py +++ b/glue/app/qt/metadata.py @@ -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 diff --git a/glue/app/qt/plugin_manager.py b/glue/app/qt/plugin_manager.py index 67bbe5530..7ba92f677 100644 --- a/glue/app/qt/plugin_manager.py +++ b/glue/app/qt/plugin_manager.py @@ -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 diff --git a/glue/app/qt/preferences.py b/glue/app/qt/preferences.py index 11f02b894..30383ddba 100644 --- a/glue/app/qt/preferences.py +++ b/glue/app/qt/preferences.py @@ -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 diff --git a/glue/app/qt/save_data.py b/glue/app/qt/save_data.py index 76e5391bc..b755a9430 100644 --- a/glue/app/qt/save_data.py +++ b/glue/app/qt/save_data.py @@ -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 diff --git a/glue/app/qt/splash_screen.py b/glue/app/qt/splash_screen.py index d2e808e07..6cf0f7315 100644 --- a/glue/app/qt/splash_screen.py +++ b/glue/app/qt/splash_screen.py @@ -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 diff --git a/glue/app/qt/terminal.py b/glue/app/qt/terminal.py index 0a46e26d0..eae551147 100644 --- a/glue/app/qt/terminal.py +++ b/glue/app/qt/terminal.py @@ -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 diff --git a/glue/app/qt/versions.py b/glue/app/qt/versions.py index cae7b4964..cabf25c3d 100644 --- a/glue/app/qt/versions.py +++ b/glue/app/qt/versions.py @@ -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 diff --git a/glue/core/data_exporters/qt/__init__.py b/glue/core/data_exporters/qt/__init__.py index 08730b443..87cca1e92 100644 --- a/glue/core/data_exporters/qt/__init__.py +++ b/glue/core/data_exporters/qt/__init__.py @@ -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 diff --git a/glue/core/data_exporters/qt/dialog.py b/glue/core/data_exporters/qt/dialog.py index 0e1850dea..88e4fb38f 100644 --- a/glue/core/data_exporters/qt/dialog.py +++ b/glue/core/data_exporters/qt/dialog.py @@ -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 diff --git a/glue/core/qt/__init__.py b/glue/core/qt/__init__.py index aa34d5b4a..52b7c076a 100644 --- a/glue/core/qt/__init__.py +++ b/glue/core/qt/__init__.py @@ -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 diff --git a/glue/core/qt/data_collection_model.py b/glue/core/qt/data_collection_model.py index 48da64d73..78300433e 100644 --- a/glue/core/qt/data_collection_model.py +++ b/glue/core/qt/data_collection_model.py @@ -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 diff --git a/glue/core/qt/dialogs.py b/glue/core/qt/dialogs.py index 6778fefb4..117ecd691 100644 --- a/glue/core/qt/dialogs.py +++ b/glue/core/qt/dialogs.py @@ -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 diff --git a/glue/core/qt/fitters.py b/glue/core/qt/fitters.py index 63b7f950d..54bb772cc 100644 --- a/glue/core/qt/fitters.py +++ b/glue/core/qt/fitters.py @@ -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 diff --git a/glue/core/qt/layer_artist_model.py b/glue/core/qt/layer_artist_model.py index 169ae1e8f..af0a56455 100644 --- a/glue/core/qt/layer_artist_model.py +++ b/glue/core/qt/layer_artist_model.py @@ -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 diff --git a/glue/core/qt/message_widget.py b/glue/core/qt/message_widget.py index a0e1d5169..2fe5fc3dd 100644 --- a/glue/core/qt/message_widget.py +++ b/glue/core/qt/message_widget.py @@ -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 diff --git a/glue/core/qt/mime.py b/glue/core/qt/mime.py index 9f3bce5cb..4909c48f4 100644 --- a/glue/core/qt/mime.py +++ b/glue/core/qt/mime.py @@ -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 diff --git a/glue/core/qt/simpleforms.py b/glue/core/qt/simpleforms.py index ead15ef6d..e4be6effa 100644 --- a/glue/core/qt/simpleforms.py +++ b/glue/core/qt/simpleforms.py @@ -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 diff --git a/glue/core/qt/style_dialog.py b/glue/core/qt/style_dialog.py index 69f1f9fcd..71e6c438a 100644 --- a/glue/core/qt/style_dialog.py +++ b/glue/core/qt/style_dialog.py @@ -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 diff --git a/glue/dialogs/autolinker/qt/__init__.py b/glue/dialogs/autolinker/qt/__init__.py index 1887976ca..7c5364e0d 100644 --- a/glue/dialogs/autolinker/qt/__init__.py +++ b/glue/dialogs/autolinker/qt/__init__.py @@ -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 diff --git a/glue/dialogs/autolinker/qt/autolinker.py b/glue/dialogs/autolinker/qt/autolinker.py index 038fe0c2b..bbe79aeb2 100644 --- a/glue/dialogs/autolinker/qt/autolinker.py +++ b/glue/dialogs/autolinker/qt/autolinker.py @@ -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 diff --git a/glue/dialogs/common/qt/__init__.py b/glue/dialogs/common/qt/__init__.py index d7e8fd8a9..1326b992f 100644 --- a/glue/dialogs/common/qt/__init__.py +++ b/glue/dialogs/common/qt/__init__.py @@ -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 diff --git a/glue/dialogs/common/qt/component_tree_widget.py b/glue/dialogs/common/qt/component_tree_widget.py index 24abe9e30..29e288f19 100644 --- a/glue/dialogs/common/qt/component_tree_widget.py +++ b/glue/dialogs/common/qt/component_tree_widget.py @@ -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 diff --git a/glue/dialogs/component_arithmetic/qt/__init__.py b/glue/dialogs/component_arithmetic/qt/__init__.py index 06bec9b0f..8a23b3bc1 100644 --- a/glue/dialogs/component_arithmetic/qt/__init__.py +++ b/glue/dialogs/component_arithmetic/qt/__init__.py @@ -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 diff --git a/glue/dialogs/component_arithmetic/qt/component_arithmetic.py b/glue/dialogs/component_arithmetic/qt/component_arithmetic.py index cc608ea92..7b9b34340 100644 --- a/glue/dialogs/component_arithmetic/qt/component_arithmetic.py +++ b/glue/dialogs/component_arithmetic/qt/component_arithmetic.py @@ -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 diff --git a/glue/dialogs/component_arithmetic/qt/equation_editor.py b/glue/dialogs/component_arithmetic/qt/equation_editor.py index 7c2ec11a2..7138cd6ef 100644 --- a/glue/dialogs/component_arithmetic/qt/equation_editor.py +++ b/glue/dialogs/component_arithmetic/qt/equation_editor.py @@ -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 diff --git a/glue/dialogs/component_manager/qt/__init__.py b/glue/dialogs/component_manager/qt/__init__.py index 1307dcb1e..50c6717e4 100644 --- a/glue/dialogs/component_manager/qt/__init__.py +++ b/glue/dialogs/component_manager/qt/__init__.py @@ -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 diff --git a/glue/dialogs/component_manager/qt/component_manager.py b/glue/dialogs/component_manager/qt/component_manager.py index 5705b508a..68e398a90 100644 --- a/glue/dialogs/component_manager/qt/component_manager.py +++ b/glue/dialogs/component_manager/qt/component_manager.py @@ -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 diff --git a/glue/dialogs/data_wizard/qt/__init__.py b/glue/dialogs/data_wizard/qt/__init__.py index f4c7a741d..108d86cab 100644 --- a/glue/dialogs/data_wizard/qt/__init__.py +++ b/glue/dialogs/data_wizard/qt/__init__.py @@ -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 diff --git a/glue/dialogs/data_wizard/qt/data_wizard_dialog.py b/glue/dialogs/data_wizard/qt/data_wizard_dialog.py index 74a9a05fb..9b1789158 100644 --- a/glue/dialogs/data_wizard/qt/data_wizard_dialog.py +++ b/glue/dialogs/data_wizard/qt/data_wizard_dialog.py @@ -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 diff --git a/glue/dialogs/link_editor/qt/__init__.py b/glue/dialogs/link_editor/qt/__init__.py index bc33410f9..558162ed5 100644 --- a/glue/dialogs/link_editor/qt/__init__.py +++ b/glue/dialogs/link_editor/qt/__init__.py @@ -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 diff --git a/glue/dialogs/link_editor/qt/data_graph.py b/glue/dialogs/link_editor/qt/data_graph.py index f61d9eb21..e4d3e0378 100644 --- a/glue/dialogs/link_editor/qt/data_graph.py +++ b/glue/dialogs/link_editor/qt/data_graph.py @@ -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 diff --git a/glue/dialogs/link_editor/qt/link_editor.py b/glue/dialogs/link_editor/qt/link_editor.py index 6d5b76a2c..39f5690e2 100644 --- a/glue/dialogs/link_editor/qt/link_editor.py +++ b/glue/dialogs/link_editor/qt/link_editor.py @@ -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 diff --git a/glue/dialogs/subset_facet/qt/__init__.py b/glue/dialogs/subset_facet/qt/__init__.py index e01d4a3aa..92878f2e1 100644 --- a/glue/dialogs/subset_facet/qt/__init__.py +++ b/glue/dialogs/subset_facet/qt/__init__.py @@ -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 diff --git a/glue/dialogs/subset_facet/qt/subset_facet.py b/glue/dialogs/subset_facet/qt/subset_facet.py index 0f09b0ff7..b5dd57673 100644 --- a/glue/dialogs/subset_facet/qt/subset_facet.py +++ b/glue/dialogs/subset_facet/qt/subset_facet.py @@ -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 diff --git a/glue/icons/qt/__init__.py b/glue/icons/qt/__init__.py index 6da906353..95a08bec4 100644 --- a/glue/icons/qt/__init__.py +++ b/glue/icons/qt/__init__.py @@ -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 diff --git a/glue/icons/qt/helpers.py b/glue/icons/qt/helpers.py index e5ea47f12..46996b1d5 100644 --- a/glue/icons/qt/helpers.py +++ b/glue/icons/qt/helpers.py @@ -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 diff --git a/glue/io/qt/__init__.py b/glue/io/qt/__init__.py index 6d7bd67f7..a40e02085 100644 --- a/glue/io/qt/__init__.py +++ b/glue/io/qt/__init__.py @@ -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 diff --git a/glue/io/qt/directory_importer/__init__.py b/glue/io/qt/directory_importer/__init__.py index 10ff07a51..ce7679906 100644 --- a/glue/io/qt/directory_importer/__init__.py +++ b/glue/io/qt/directory_importer/__init__.py @@ -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 diff --git a/glue/io/qt/directory_importer/directory_importer.py b/glue/io/qt/directory_importer/directory_importer.py index 5647c5e9a..440576b4f 100644 --- a/glue/io/qt/directory_importer/directory_importer.py +++ b/glue/io/qt/directory_importer/directory_importer.py @@ -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 diff --git a/glue/io/qt/subset_mask.py b/glue/io/qt/subset_mask.py index f95a46f3c..98327dfda 100644 --- a/glue/io/qt/subset_mask.py +++ b/glue/io/qt/subset_mask.py @@ -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 diff --git a/glue/plugins/dendro_viewer/qt/__init__.py b/glue/plugins/dendro_viewer/qt/__init__.py index 42a03823d..ba953ec70 100644 --- a/glue/plugins/dendro_viewer/qt/__init__.py +++ b/glue/plugins/dendro_viewer/qt/__init__.py @@ -1,4 +1,4 @@ import warnings from glue.utils.error import GlueDeprecationWarning -warnings.warn('Importing from glue.plugins.dendro_viewer.qt is deprecated, use glue_qt.plugins.dendro_viewer) instead', GlueDeprecationWarning) +warnings.warn('Importing from glue.plugins.dendro_viewer.qt is deprecated, use glue_qt.plugins.dendro_viewer instead', GlueDeprecationWarning) from glue_qt.plugins.dendro_viewer import * # noqa diff --git a/glue/plugins/dendro_viewer/qt/data_viewer.py b/glue/plugins/dendro_viewer/qt/data_viewer.py index 229618465..52478e644 100644 --- a/glue/plugins/dendro_viewer/qt/data_viewer.py +++ b/glue/plugins/dendro_viewer/qt/data_viewer.py @@ -1,4 +1,4 @@ import warnings from glue.utils.error import GlueDeprecationWarning -warnings.warn('Importing from glue.plugins.dendro_viewer.qt.data_viewer is deprecated, use glue_qt.plugins.dendro_viewer.data_viewer) instead', GlueDeprecationWarning) +warnings.warn('Importing from glue.plugins.dendro_viewer.qt.data_viewer is deprecated, use glue_qt.plugins.dendro_viewer.data_viewer instead', GlueDeprecationWarning) from glue_qt.plugins.dendro_viewer.data_viewer import * # noqa diff --git a/glue/plugins/dendro_viewer/qt/layer_style_editor.py b/glue/plugins/dendro_viewer/qt/layer_style_editor.py index b41cae4f2..c72401393 100644 --- a/glue/plugins/dendro_viewer/qt/layer_style_editor.py +++ b/glue/plugins/dendro_viewer/qt/layer_style_editor.py @@ -1,4 +1,4 @@ import warnings from glue.utils.error import GlueDeprecationWarning -warnings.warn('Importing from glue.plugins.dendro_viewer.qt.layer_style_editor is deprecated, use glue_qt.plugins.dendro_viewer.layer_style_editor) instead', GlueDeprecationWarning) +warnings.warn('Importing from glue.plugins.dendro_viewer.qt.layer_style_editor is deprecated, use glue_qt.plugins.dendro_viewer.layer_style_editor instead', GlueDeprecationWarning) from glue_qt.plugins.dendro_viewer.layer_style_editor import * # noqa diff --git a/glue/plugins/dendro_viewer/qt/options_widget.py b/glue/plugins/dendro_viewer/qt/options_widget.py index 5fbcf4e6a..1d76ee37a 100644 --- a/glue/plugins/dendro_viewer/qt/options_widget.py +++ b/glue/plugins/dendro_viewer/qt/options_widget.py @@ -1,4 +1,4 @@ import warnings from glue.utils.error import GlueDeprecationWarning -warnings.warn('Importing from glue.plugins.dendro_viewer.qt.options_widget is deprecated, use glue_qt.plugins.dendro_viewer.options_widget) instead', GlueDeprecationWarning) +warnings.warn('Importing from glue.plugins.dendro_viewer.qt.options_widget is deprecated, use glue_qt.plugins.dendro_viewer.options_widget instead', GlueDeprecationWarning) from glue_qt.plugins.dendro_viewer.options_widget import * # noqa diff --git a/glue/plugins/tools/pv_slicer/qt/__init__.py b/glue/plugins/tools/pv_slicer/qt/__init__.py index b7164410a..031c55332 100644 --- a/glue/plugins/tools/pv_slicer/qt/__init__.py +++ b/glue/plugins/tools/pv_slicer/qt/__init__.py @@ -1,4 +1,4 @@ import warnings from glue.utils.error import GlueDeprecationWarning -warnings.warn('Importing from glue.plugins.tools.pv_slicer.qt is deprecated, use glue_qt.plugins.tools.pv_slicer) instead', GlueDeprecationWarning) +warnings.warn('Importing from glue.plugins.tools.pv_slicer.qt is deprecated, use glue_qt.plugins.tools.pv_slicer instead', GlueDeprecationWarning) from glue_qt.plugins.tools.pv_slicer import * # noqa diff --git a/glue/plugins/tools/pv_slicer/qt/pv_slicer.py b/glue/plugins/tools/pv_slicer/qt/pv_slicer.py index 189b729f9..12c531e6c 100644 --- a/glue/plugins/tools/pv_slicer/qt/pv_slicer.py +++ b/glue/plugins/tools/pv_slicer/qt/pv_slicer.py @@ -1,4 +1,4 @@ import warnings from glue.utils.error import GlueDeprecationWarning -warnings.warn('Importing from glue.plugins.tools.pv_slicer.qt.pv_slicer is deprecated, use glue_qt.plugins.tools.pv_slicer.pv_slicer) instead', GlueDeprecationWarning) +warnings.warn('Importing from glue.plugins.tools.pv_slicer.qt.pv_slicer is deprecated, use glue_qt.plugins.tools.pv_slicer.pv_slicer instead', GlueDeprecationWarning) from glue_qt.plugins.tools.pv_slicer.pv_slicer import * # noqa diff --git a/glue/qglue.py b/glue/qglue.py index 34bc45b97..66dc0e175 100644 --- a/glue/qglue.py +++ b/glue/qglue.py @@ -1,4 +1,18 @@ import warnings from glue.utils.error import GlueDeprecationWarning -warnings.warn('Importing from glue.qglue is deprecated, use glue_qt.qglue) instead', GlueDeprecationWarning) + +warnings.warn('Importing from glue.qglue is deprecated, use glue_qt.qglue instead', GlueDeprecationWarning) + from glue_qt.qglue import * # noqa + + +def parse_data(*args, **kwargs): + warnings.warn('glue.qglue.parse_data is deprecated, use glue.core.parsers.parse_data instead', GlueDeprecationWarning) + from glue.core.parsers import parse_data + return parse_data(*args, **kwargs) + + +def parse_links(*args, **kwargs): + warnings.warn('glue.qglue.parse_links is deprecated, use glue.core.parsers.parse_links instead', GlueDeprecationWarning) + from glue.core.parsers import parse_links + return parse_links(*args, **kwargs) diff --git a/glue/utils/qt/__init__.py b/glue/utils/qt/__init__.py index 9c93d48c9..95cc710cd 100644 --- a/glue/utils/qt/__init__.py +++ b/glue/utils/qt/__init__.py @@ -1,4 +1,4 @@ import warnings from glue.utils.error import GlueDeprecationWarning -warnings.warn('Importing from glue.utils.qt is deprecated, use glue_qt.utils) instead', GlueDeprecationWarning) +warnings.warn('Importing from glue.utils.qt is deprecated, use glue_qt.utils instead', GlueDeprecationWarning) from glue_qt.utils import * # noqa diff --git a/glue/utils/qt/app.py b/glue/utils/qt/app.py index 4eeae2ac3..1ade6b52a 100644 --- a/glue/utils/qt/app.py +++ b/glue/utils/qt/app.py @@ -1,4 +1,4 @@ import warnings from glue.utils.error import GlueDeprecationWarning -warnings.warn('Importing from glue.utils.qt.app is deprecated, use glue_qt.utils.app) instead', GlueDeprecationWarning) +warnings.warn('Importing from glue.utils.qt.app is deprecated, use glue_qt.utils.app instead', GlueDeprecationWarning) from glue_qt.utils.app import * # noqa diff --git a/glue/utils/qt/autocomplete_widget.py b/glue/utils/qt/autocomplete_widget.py index a92d82f94..07c699e3a 100644 --- a/glue/utils/qt/autocomplete_widget.py +++ b/glue/utils/qt/autocomplete_widget.py @@ -1,4 +1,4 @@ import warnings from glue.utils.error import GlueDeprecationWarning -warnings.warn('Importing from glue.utils.qt.autocomplete_widget is deprecated, use glue_qt.utils.autocomplete_widget) instead', GlueDeprecationWarning) +warnings.warn('Importing from glue.utils.qt.autocomplete_widget is deprecated, use glue_qt.utils.autocomplete_widget instead', GlueDeprecationWarning) from glue_qt.utils.autocomplete_widget import * # noqa diff --git a/glue/utils/qt/colors.py b/glue/utils/qt/colors.py index 90002c114..acd5d2aad 100644 --- a/glue/utils/qt/colors.py +++ b/glue/utils/qt/colors.py @@ -1,4 +1,4 @@ import warnings from glue.utils.error import GlueDeprecationWarning -warnings.warn('Importing from glue.utils.qt.colors is deprecated, use glue_qt.utils.colors) instead', GlueDeprecationWarning) +warnings.warn('Importing from glue.utils.qt.colors is deprecated, use glue_qt.utils.colors instead', GlueDeprecationWarning) from glue_qt.utils.colors import * # noqa diff --git a/glue/utils/qt/decorators.py b/glue/utils/qt/decorators.py index df5a93870..36f64a5d1 100644 --- a/glue/utils/qt/decorators.py +++ b/glue/utils/qt/decorators.py @@ -1,4 +1,4 @@ import warnings from glue.utils.error import GlueDeprecationWarning -warnings.warn('Importing from glue.utils.qt.decorators is deprecated, use glue_qt.utils.decorators) instead', GlueDeprecationWarning) +warnings.warn('Importing from glue.utils.qt.decorators is deprecated, use glue_qt.utils.decorators instead', GlueDeprecationWarning) from glue_qt.utils.decorators import * # noqa diff --git a/glue/utils/qt/delegates.py b/glue/utils/qt/delegates.py index 6ea1edd1b..8906740dc 100644 --- a/glue/utils/qt/delegates.py +++ b/glue/utils/qt/delegates.py @@ -1,4 +1,4 @@ import warnings from glue.utils.error import GlueDeprecationWarning -warnings.warn('Importing from glue.utils.qt.delegates is deprecated, use glue_qt.utils.delegates) instead', GlueDeprecationWarning) +warnings.warn('Importing from glue.utils.qt.delegates is deprecated, use glue_qt.utils.delegates instead', GlueDeprecationWarning) from glue_qt.utils.delegates import * # noqa diff --git a/glue/utils/qt/dialogs.py b/glue/utils/qt/dialogs.py index ee66b48f5..dcd1d13b9 100644 --- a/glue/utils/qt/dialogs.py +++ b/glue/utils/qt/dialogs.py @@ -1,4 +1,4 @@ import warnings from glue.utils.error import GlueDeprecationWarning -warnings.warn('Importing from glue.utils.qt.dialogs is deprecated, use glue_qt.utils.dialogs) instead', GlueDeprecationWarning) +warnings.warn('Importing from glue.utils.qt.dialogs is deprecated, use glue_qt.utils.dialogs instead', GlueDeprecationWarning) from glue_qt.utils.dialogs import * # noqa diff --git a/glue/utils/qt/helpers.py b/glue/utils/qt/helpers.py index aa5f6cb0a..07138b9d9 100644 --- a/glue/utils/qt/helpers.py +++ b/glue/utils/qt/helpers.py @@ -1,4 +1,4 @@ import warnings from glue.utils.error import GlueDeprecationWarning -warnings.warn('Importing from glue.utils.qt.helpers is deprecated, use glue_qt.utils.helpers) instead', GlueDeprecationWarning) +warnings.warn('Importing from glue.utils.qt.helpers is deprecated, use glue_qt.utils.helpers instead', GlueDeprecationWarning) from glue_qt.utils.helpers import * # noqa diff --git a/glue/utils/qt/mime.py b/glue/utils/qt/mime.py index afcc571f6..10a67dd2b 100644 --- a/glue/utils/qt/mime.py +++ b/glue/utils/qt/mime.py @@ -1,4 +1,4 @@ import warnings from glue.utils.error import GlueDeprecationWarning -warnings.warn('Importing from glue.utils.qt.mime is deprecated, use glue_qt.utils.mime) instead', GlueDeprecationWarning) +warnings.warn('Importing from glue.utils.qt.mime is deprecated, use glue_qt.utils.mime instead', GlueDeprecationWarning) from glue_qt.utils.mime import * # noqa diff --git a/glue/utils/qt/mixins.py b/glue/utils/qt/mixins.py index 568cb2281..0037a89ae 100644 --- a/glue/utils/qt/mixins.py +++ b/glue/utils/qt/mixins.py @@ -1,4 +1,4 @@ import warnings from glue.utils.error import GlueDeprecationWarning -warnings.warn('Importing from glue.utils.qt.mixins is deprecated, use glue_qt.utils.mixins) instead', GlueDeprecationWarning) +warnings.warn('Importing from glue.utils.qt.mixins is deprecated, use glue_qt.utils.mixins instead', GlueDeprecationWarning) from glue_qt.utils.mixins import * # noqa diff --git a/glue/utils/qt/python_list_model.py b/glue/utils/qt/python_list_model.py index 71bdacb88..a3ad8699b 100644 --- a/glue/utils/qt/python_list_model.py +++ b/glue/utils/qt/python_list_model.py @@ -1,4 +1,4 @@ import warnings from glue.utils.error import GlueDeprecationWarning -warnings.warn('Importing from glue.utils.qt.python_list_model is deprecated, use glue_qt.utils.python_list_model) instead', GlueDeprecationWarning) +warnings.warn('Importing from glue.utils.qt.python_list_model is deprecated, use glue_qt.utils.python_list_model instead', GlueDeprecationWarning) from glue_qt.utils.python_list_model import * # noqa diff --git a/glue/utils/qt/threading.py b/glue/utils/qt/threading.py index ff6631ce9..99e05300c 100644 --- a/glue/utils/qt/threading.py +++ b/glue/utils/qt/threading.py @@ -1,4 +1,4 @@ import warnings from glue.utils.error import GlueDeprecationWarning -warnings.warn('Importing from glue.utils.qt.threading is deprecated, use glue_qt.utils.threading) instead', GlueDeprecationWarning) +warnings.warn('Importing from glue.utils.qt.threading is deprecated, use glue_qt.utils.threading instead', GlueDeprecationWarning) from glue_qt.utils.threading import * # noqa diff --git a/glue/utils/qt/widget_properties.py b/glue/utils/qt/widget_properties.py index bc9f4fc6f..6bb8f6b32 100644 --- a/glue/utils/qt/widget_properties.py +++ b/glue/utils/qt/widget_properties.py @@ -1,4 +1,4 @@ import warnings from glue.utils.error import GlueDeprecationWarning -warnings.warn('Importing from glue.utils.qt.widget_properties is deprecated, use glue_qt.utils.widget_properties) instead', GlueDeprecationWarning) +warnings.warn('Importing from glue.utils.qt.widget_properties is deprecated, use glue_qt.utils.widget_properties instead', GlueDeprecationWarning) from glue_qt.utils.widget_properties import * # noqa diff --git a/glue/viewers/common/qt/__init__.py b/glue/viewers/common/qt/__init__.py index a614e7d98..63c3cdd0c 100644 --- a/glue/viewers/common/qt/__init__.py +++ b/glue/viewers/common/qt/__init__.py @@ -1,4 +1,4 @@ import warnings from glue.utils.error import GlueDeprecationWarning -warnings.warn('Importing from glue.viewers.common.qt is deprecated, use glue_qt.viewers.common) instead', GlueDeprecationWarning) +warnings.warn('Importing from glue.viewers.common.qt is deprecated, use glue_qt.viewers.common instead', GlueDeprecationWarning) from glue_qt.viewers.common import * # noqa diff --git a/glue/viewers/common/qt/base_widget.py b/glue/viewers/common/qt/base_widget.py index ecf076146..a863189d7 100644 --- a/glue/viewers/common/qt/base_widget.py +++ b/glue/viewers/common/qt/base_widget.py @@ -1,4 +1,4 @@ import warnings from glue.utils.error import GlueDeprecationWarning -warnings.warn('Importing from glue.viewers.common.qt.base_widget is deprecated, use glue_qt.viewers.common.base_widget) instead', GlueDeprecationWarning) +warnings.warn('Importing from glue.viewers.common.qt.base_widget is deprecated, use glue_qt.viewers.common.base_widget instead', GlueDeprecationWarning) from glue_qt.viewers.common.base_widget import * # noqa diff --git a/glue/viewers/common/qt/data_slice_widget.py b/glue/viewers/common/qt/data_slice_widget.py index beff268ff..edad718b0 100644 --- a/glue/viewers/common/qt/data_slice_widget.py +++ b/glue/viewers/common/qt/data_slice_widget.py @@ -1,4 +1,4 @@ import warnings from glue.utils.error import GlueDeprecationWarning -warnings.warn('Importing from glue.viewers.common.qt.data_slice_widget is deprecated, use glue_qt.viewers.common.data_slice_widget) instead', GlueDeprecationWarning) +warnings.warn('Importing from glue.viewers.common.qt.data_slice_widget is deprecated, use glue_qt.viewers.common.data_slice_widget instead', GlueDeprecationWarning) from glue_qt.viewers.common.data_slice_widget import * # noqa diff --git a/glue/viewers/common/qt/data_viewer.py b/glue/viewers/common/qt/data_viewer.py index cf11f2436..8e9076d65 100644 --- a/glue/viewers/common/qt/data_viewer.py +++ b/glue/viewers/common/qt/data_viewer.py @@ -1,4 +1,4 @@ import warnings from glue.utils.error import GlueDeprecationWarning -warnings.warn('Importing from glue.viewers.common.qt.data_viewer is deprecated, use glue_qt.viewers.common.data_viewer) instead', GlueDeprecationWarning) +warnings.warn('Importing from glue.viewers.common.qt.data_viewer is deprecated, use glue_qt.viewers.common.data_viewer instead', GlueDeprecationWarning) from glue_qt.viewers.common.data_viewer import * # noqa diff --git a/glue/viewers/common/qt/data_viewer_with_state.py b/glue/viewers/common/qt/data_viewer_with_state.py index 8bd1525e2..1e56224d8 100644 --- a/glue/viewers/common/qt/data_viewer_with_state.py +++ b/glue/viewers/common/qt/data_viewer_with_state.py @@ -1,4 +1,4 @@ import warnings from glue.utils.error import GlueDeprecationWarning -warnings.warn('Importing from glue.viewers.common.qt.data_viewer_with_state is deprecated, use glue_qt.viewers.common.data_viewer_with_state) instead', GlueDeprecationWarning) +warnings.warn('Importing from glue.viewers.common.qt.data_viewer_with_state is deprecated, use glue_qt.viewers.common.data_viewer_with_state instead', GlueDeprecationWarning) from glue_qt.viewers.common.data_viewer_with_state import * # noqa diff --git a/glue/viewers/common/qt/tool.py b/glue/viewers/common/qt/tool.py index 9cf01f97d..00e222683 100644 --- a/glue/viewers/common/qt/tool.py +++ b/glue/viewers/common/qt/tool.py @@ -1,4 +1,4 @@ import warnings from glue.utils.error import GlueDeprecationWarning -warnings.warn('Importing from glue.viewers.common.qt.tool is deprecated, use glue_qt.viewers.common.tool) instead', GlueDeprecationWarning) +warnings.warn('Importing from glue.viewers.common.qt.tool is deprecated, use glue_qt.viewers.common.tool instead', GlueDeprecationWarning) from glue_qt.viewers.common.tool import * # noqa diff --git a/glue/viewers/common/qt/toolbar.py b/glue/viewers/common/qt/toolbar.py index 5ae216b84..a8024f693 100644 --- a/glue/viewers/common/qt/toolbar.py +++ b/glue/viewers/common/qt/toolbar.py @@ -1,4 +1,4 @@ import warnings from glue.utils.error import GlueDeprecationWarning -warnings.warn('Importing from glue.viewers.common.qt.toolbar is deprecated, use glue_qt.viewers.common.toolbar) instead', GlueDeprecationWarning) +warnings.warn('Importing from glue.viewers.common.qt.toolbar is deprecated, use glue_qt.viewers.common.toolbar instead', GlueDeprecationWarning) from glue_qt.viewers.common.toolbar import * # noqa diff --git a/glue/viewers/common/qt/tools.py b/glue/viewers/common/qt/tools.py index 8f4fca459..fcfdba44e 100644 --- a/glue/viewers/common/qt/tools.py +++ b/glue/viewers/common/qt/tools.py @@ -1,4 +1,4 @@ import warnings from glue.utils.error import GlueDeprecationWarning -warnings.warn('Importing from glue.viewers.common.qt.tools is deprecated, use glue_qt.viewers.common.tools) instead', GlueDeprecationWarning) +warnings.warn('Importing from glue.viewers.common.qt.tools is deprecated, use glue_qt.viewers.common.tools instead', GlueDeprecationWarning) from glue_qt.viewers.common.tools import * # noqa diff --git a/glue/viewers/custom/qt/__init__.py b/glue/viewers/custom/qt/__init__.py index 51bedfd0f..b3bf0b8ed 100644 --- a/glue/viewers/custom/qt/__init__.py +++ b/glue/viewers/custom/qt/__init__.py @@ -1,4 +1,4 @@ import warnings from glue.utils.error import GlueDeprecationWarning -warnings.warn('Importing from glue.viewers.custom.qt is deprecated, use glue_qt.viewers.custom) instead', GlueDeprecationWarning) +warnings.warn('Importing from glue.viewers.custom.qt is deprecated, use glue_qt.viewers.custom instead', GlueDeprecationWarning) from glue_qt.viewers.custom import * # noqa diff --git a/glue/viewers/custom/qt/custom_viewer.py b/glue/viewers/custom/qt/custom_viewer.py index 46f295aec..07313bde2 100644 --- a/glue/viewers/custom/qt/custom_viewer.py +++ b/glue/viewers/custom/qt/custom_viewer.py @@ -1,4 +1,4 @@ import warnings from glue.utils.error import GlueDeprecationWarning -warnings.warn('Importing from glue.viewers.custom.qt.custom_viewer is deprecated, use glue_qt.viewers.custom.custom_viewer) instead', GlueDeprecationWarning) +warnings.warn('Importing from glue.viewers.custom.qt.custom_viewer is deprecated, use glue_qt.viewers.custom.custom_viewer instead', GlueDeprecationWarning) from glue_qt.viewers.custom.custom_viewer import * # noqa diff --git a/glue/viewers/custom/qt/elements.py b/glue/viewers/custom/qt/elements.py index cea6251e0..1c2d688c9 100644 --- a/glue/viewers/custom/qt/elements.py +++ b/glue/viewers/custom/qt/elements.py @@ -1,4 +1,4 @@ import warnings from glue.utils.error import GlueDeprecationWarning -warnings.warn('Importing from glue.viewers.custom.qt.elements is deprecated, use glue_qt.viewers.custom.elements) instead', GlueDeprecationWarning) +warnings.warn('Importing from glue.viewers.custom.qt.elements is deprecated, use glue_qt.viewers.custom.elements instead', GlueDeprecationWarning) from glue_qt.viewers.custom.elements import * # noqa diff --git a/glue/viewers/histogram/qt/__init__.py b/glue/viewers/histogram/qt/__init__.py index f6f8fe823..96226f2e9 100644 --- a/glue/viewers/histogram/qt/__init__.py +++ b/glue/viewers/histogram/qt/__init__.py @@ -1,4 +1,4 @@ import warnings from glue.utils.error import GlueDeprecationWarning -warnings.warn('Importing from glue.viewers.histogram.qt is deprecated, use glue_qt.viewers.histogram) instead', GlueDeprecationWarning) +warnings.warn('Importing from glue.viewers.histogram.qt is deprecated, use glue_qt.viewers.histogram instead', GlueDeprecationWarning) from glue_qt.viewers.histogram import * # noqa diff --git a/glue/viewers/histogram/qt/data_viewer.py b/glue/viewers/histogram/qt/data_viewer.py index c1989c2e5..c294f9bfb 100644 --- a/glue/viewers/histogram/qt/data_viewer.py +++ b/glue/viewers/histogram/qt/data_viewer.py @@ -1,4 +1,4 @@ import warnings from glue.utils.error import GlueDeprecationWarning -warnings.warn('Importing from glue.viewers.histogram.qt.data_viewer is deprecated, use glue_qt.viewers.histogram.data_viewer) instead', GlueDeprecationWarning) +warnings.warn('Importing from glue.viewers.histogram.qt.data_viewer is deprecated, use glue_qt.viewers.histogram.data_viewer instead', GlueDeprecationWarning) from glue_qt.viewers.histogram.data_viewer import * # noqa diff --git a/glue/viewers/histogram/qt/layer_artist.py b/glue/viewers/histogram/qt/layer_artist.py index d18fbc73a..693af623e 100644 --- a/glue/viewers/histogram/qt/layer_artist.py +++ b/glue/viewers/histogram/qt/layer_artist.py @@ -1,4 +1,4 @@ import warnings from glue.utils.error import GlueDeprecationWarning -warnings.warn('Importing from glue.viewers.histogram.qt.layer_artist is deprecated, use glue_qt.viewers.histogram.layer_artist) instead', GlueDeprecationWarning) +warnings.warn('Importing from glue.viewers.histogram.qt.layer_artist is deprecated, use glue_qt.viewers.histogram.layer_artist instead', GlueDeprecationWarning) from glue_qt.viewers.histogram.layer_artist import * # noqa diff --git a/glue/viewers/histogram/qt/layer_style_editor.py b/glue/viewers/histogram/qt/layer_style_editor.py index 57fa4ea70..96f7f1f29 100644 --- a/glue/viewers/histogram/qt/layer_style_editor.py +++ b/glue/viewers/histogram/qt/layer_style_editor.py @@ -1,4 +1,4 @@ import warnings from glue.utils.error import GlueDeprecationWarning -warnings.warn('Importing from glue.viewers.histogram.qt.layer_style_editor is deprecated, use glue_qt.viewers.histogram.layer_style_editor) instead', GlueDeprecationWarning) +warnings.warn('Importing from glue.viewers.histogram.qt.layer_style_editor is deprecated, use glue_qt.viewers.histogram.layer_style_editor instead', GlueDeprecationWarning) from glue_qt.viewers.histogram.layer_style_editor import * # noqa diff --git a/glue/viewers/histogram/qt/options_widget.py b/glue/viewers/histogram/qt/options_widget.py index 158cd5c26..3a7c880eb 100644 --- a/glue/viewers/histogram/qt/options_widget.py +++ b/glue/viewers/histogram/qt/options_widget.py @@ -1,4 +1,4 @@ import warnings from glue.utils.error import GlueDeprecationWarning -warnings.warn('Importing from glue.viewers.histogram.qt.options_widget is deprecated, use glue_qt.viewers.histogram.options_widget) instead', GlueDeprecationWarning) +warnings.warn('Importing from glue.viewers.histogram.qt.options_widget is deprecated, use glue_qt.viewers.histogram.options_widget instead', GlueDeprecationWarning) from glue_qt.viewers.histogram.options_widget import * # noqa diff --git a/glue/viewers/image/qt/__init__.py b/glue/viewers/image/qt/__init__.py index a25e88fbc..5444f7485 100644 --- a/glue/viewers/image/qt/__init__.py +++ b/glue/viewers/image/qt/__init__.py @@ -1,4 +1,4 @@ import warnings from glue.utils.error import GlueDeprecationWarning -warnings.warn('Importing from glue.viewers.image.qt is deprecated, use glue_qt.viewers.image) instead', GlueDeprecationWarning) +warnings.warn('Importing from glue.viewers.image.qt is deprecated, use glue_qt.viewers.image instead', GlueDeprecationWarning) from glue_qt.viewers.image import * # noqa diff --git a/glue/viewers/image/qt/contrast_mouse_mode.py b/glue/viewers/image/qt/contrast_mouse_mode.py index 89fe5936a..37d452705 100644 --- a/glue/viewers/image/qt/contrast_mouse_mode.py +++ b/glue/viewers/image/qt/contrast_mouse_mode.py @@ -1,4 +1,4 @@ import warnings from glue.utils.error import GlueDeprecationWarning -warnings.warn('Importing from glue.viewers.image.qt.contrast_mouse_mode is deprecated, use glue_qt.viewers.image.contrast_mouse_mode) instead', GlueDeprecationWarning) +warnings.warn('Importing from glue.viewers.image.qt.contrast_mouse_mode is deprecated, use glue_qt.viewers.image.contrast_mouse_mode instead', GlueDeprecationWarning) from glue_qt.viewers.image.contrast_mouse_mode import * # noqa diff --git a/glue/viewers/image/qt/data_viewer.py b/glue/viewers/image/qt/data_viewer.py index 159ee4c47..7499d72a3 100644 --- a/glue/viewers/image/qt/data_viewer.py +++ b/glue/viewers/image/qt/data_viewer.py @@ -1,4 +1,4 @@ import warnings from glue.utils.error import GlueDeprecationWarning -warnings.warn('Importing from glue.viewers.image.qt.data_viewer is deprecated, use glue_qt.viewers.image.data_viewer) instead', GlueDeprecationWarning) +warnings.warn('Importing from glue.viewers.image.qt.data_viewer is deprecated, use glue_qt.viewers.image.data_viewer instead', GlueDeprecationWarning) from glue_qt.viewers.image.data_viewer import * # noqa diff --git a/glue/viewers/image/qt/layer_style_editor.py b/glue/viewers/image/qt/layer_style_editor.py index b91aff578..253591c36 100644 --- a/glue/viewers/image/qt/layer_style_editor.py +++ b/glue/viewers/image/qt/layer_style_editor.py @@ -1,4 +1,4 @@ import warnings from glue.utils.error import GlueDeprecationWarning -warnings.warn('Importing from glue.viewers.image.qt.layer_style_editor is deprecated, use glue_qt.viewers.image.layer_style_editor) instead', GlueDeprecationWarning) +warnings.warn('Importing from glue.viewers.image.qt.layer_style_editor is deprecated, use glue_qt.viewers.image.layer_style_editor instead', GlueDeprecationWarning) from glue_qt.viewers.image.layer_style_editor import * # noqa diff --git a/glue/viewers/image/qt/layer_style_editor_subset.py b/glue/viewers/image/qt/layer_style_editor_subset.py index 3e8280853..8713eb546 100644 --- a/glue/viewers/image/qt/layer_style_editor_subset.py +++ b/glue/viewers/image/qt/layer_style_editor_subset.py @@ -1,4 +1,4 @@ import warnings from glue.utils.error import GlueDeprecationWarning -warnings.warn('Importing from glue.viewers.image.qt.layer_style_editor_subset is deprecated, use glue_qt.viewers.image.layer_style_editor_subset) instead', GlueDeprecationWarning) +warnings.warn('Importing from glue.viewers.image.qt.layer_style_editor_subset is deprecated, use glue_qt.viewers.image.layer_style_editor_subset instead', GlueDeprecationWarning) from glue_qt.viewers.image.layer_style_editor_subset import * # noqa diff --git a/glue/viewers/image/qt/mouse_mode.py b/glue/viewers/image/qt/mouse_mode.py index 80833544a..bf4789933 100644 --- a/glue/viewers/image/qt/mouse_mode.py +++ b/glue/viewers/image/qt/mouse_mode.py @@ -1,4 +1,4 @@ import warnings from glue.utils.error import GlueDeprecationWarning -warnings.warn('Importing from glue.viewers.image.qt.mouse_mode is deprecated, use glue_qt.viewers.image.mouse_mode) instead', GlueDeprecationWarning) +warnings.warn('Importing from glue.viewers.image.qt.mouse_mode is deprecated, use glue_qt.viewers.image.mouse_mode instead', GlueDeprecationWarning) from glue_qt.viewers.image.mouse_mode import * # noqa diff --git a/glue/viewers/image/qt/options_widget.py b/glue/viewers/image/qt/options_widget.py index 5f232d783..b157c97de 100644 --- a/glue/viewers/image/qt/options_widget.py +++ b/glue/viewers/image/qt/options_widget.py @@ -1,4 +1,4 @@ import warnings from glue.utils.error import GlueDeprecationWarning -warnings.warn('Importing from glue.viewers.image.qt.options_widget is deprecated, use glue_qt.viewers.image.options_widget) instead', GlueDeprecationWarning) +warnings.warn('Importing from glue.viewers.image.qt.options_widget is deprecated, use glue_qt.viewers.image.options_widget instead', GlueDeprecationWarning) from glue_qt.viewers.image.options_widget import * # noqa diff --git a/glue/viewers/image/qt/pixel_selection_mode.py b/glue/viewers/image/qt/pixel_selection_mode.py index 93488f592..4bad22fc4 100644 --- a/glue/viewers/image/qt/pixel_selection_mode.py +++ b/glue/viewers/image/qt/pixel_selection_mode.py @@ -1,4 +1,4 @@ import warnings from glue.utils.error import GlueDeprecationWarning -warnings.warn('Importing from glue.viewers.image.qt.pixel_selection_mode is deprecated, use glue_qt.viewers.image.pixel_selection_mode) instead', GlueDeprecationWarning) +warnings.warn('Importing from glue.viewers.image.qt.pixel_selection_mode is deprecated, use glue_qt.viewers.image.pixel_selection_mode instead', GlueDeprecationWarning) from glue_qt.viewers.image.pixel_selection_mode import * # noqa diff --git a/glue/viewers/image/qt/profile_viewer_tool.py b/glue/viewers/image/qt/profile_viewer_tool.py index cf3525f15..c89021d39 100644 --- a/glue/viewers/image/qt/profile_viewer_tool.py +++ b/glue/viewers/image/qt/profile_viewer_tool.py @@ -1,4 +1,4 @@ import warnings from glue.utils.error import GlueDeprecationWarning -warnings.warn('Importing from glue.viewers.image.qt.profile_viewer_tool is deprecated, use glue_qt.viewers.image.profile_viewer_tool) instead', GlueDeprecationWarning) +warnings.warn('Importing from glue.viewers.image.qt.profile_viewer_tool is deprecated, use glue_qt.viewers.image.profile_viewer_tool instead', GlueDeprecationWarning) from glue_qt.viewers.image.profile_viewer_tool import * # noqa diff --git a/glue/viewers/image/qt/slice_widget.py b/glue/viewers/image/qt/slice_widget.py index 260995f5e..692f4ea6c 100644 --- a/glue/viewers/image/qt/slice_widget.py +++ b/glue/viewers/image/qt/slice_widget.py @@ -1,4 +1,4 @@ import warnings from glue.utils.error import GlueDeprecationWarning -warnings.warn('Importing from glue.viewers.image.qt.slice_widget is deprecated, use glue_qt.viewers.image.slice_widget) instead', GlueDeprecationWarning) +warnings.warn('Importing from glue.viewers.image.qt.slice_widget is deprecated, use glue_qt.viewers.image.slice_widget instead', GlueDeprecationWarning) from glue_qt.viewers.image.slice_widget import * # noqa diff --git a/glue/viewers/image/qt/standalone_image_viewer.py b/glue/viewers/image/qt/standalone_image_viewer.py index a50e2e7ae..437466bba 100644 --- a/glue/viewers/image/qt/standalone_image_viewer.py +++ b/glue/viewers/image/qt/standalone_image_viewer.py @@ -1,4 +1,4 @@ import warnings from glue.utils.error import GlueDeprecationWarning -warnings.warn('Importing from glue.viewers.image.qt.standalone_image_viewer is deprecated, use glue_qt.viewers.image.standalone_image_viewer) instead', GlueDeprecationWarning) +warnings.warn('Importing from glue.viewers.image.qt.standalone_image_viewer is deprecated, use glue_qt.viewers.image.standalone_image_viewer instead', GlueDeprecationWarning) from glue_qt.viewers.image.standalone_image_viewer import * # noqa diff --git a/glue/viewers/matplotlib/qt/__init__.py b/glue/viewers/matplotlib/qt/__init__.py index 8848f5fd2..2d725e620 100644 --- a/glue/viewers/matplotlib/qt/__init__.py +++ b/glue/viewers/matplotlib/qt/__init__.py @@ -1,4 +1,4 @@ import warnings from glue.utils.error import GlueDeprecationWarning -warnings.warn('Importing from glue.viewers.matplotlib.qt is deprecated, use glue_qt.viewers.matplotlib) instead', GlueDeprecationWarning) +warnings.warn('Importing from glue.viewers.matplotlib.qt is deprecated, use glue_qt.viewers.matplotlib instead', GlueDeprecationWarning) from glue_qt.viewers.matplotlib import * # noqa diff --git a/glue/viewers/matplotlib/qt/axes_editor.py b/glue/viewers/matplotlib/qt/axes_editor.py index 007e31bec..dbcf092e9 100644 --- a/glue/viewers/matplotlib/qt/axes_editor.py +++ b/glue/viewers/matplotlib/qt/axes_editor.py @@ -1,4 +1,4 @@ import warnings from glue.utils.error import GlueDeprecationWarning -warnings.warn('Importing from glue.viewers.matplotlib.qt.axes_editor is deprecated, use glue_qt.viewers.matplotlib.axes_editor) instead', GlueDeprecationWarning) +warnings.warn('Importing from glue.viewers.matplotlib.qt.axes_editor is deprecated, use glue_qt.viewers.matplotlib.axes_editor instead', GlueDeprecationWarning) from glue_qt.viewers.matplotlib.axes_editor import * # noqa diff --git a/glue/viewers/matplotlib/qt/compute_worker.py b/glue/viewers/matplotlib/qt/compute_worker.py index 15b2f4045..34e2f794b 100644 --- a/glue/viewers/matplotlib/qt/compute_worker.py +++ b/glue/viewers/matplotlib/qt/compute_worker.py @@ -1,4 +1,4 @@ import warnings from glue.utils.error import GlueDeprecationWarning -warnings.warn('Importing from glue.viewers.matplotlib.qt.compute_worker is deprecated, use glue_qt.viewers.matplotlib.compute_worker) instead', GlueDeprecationWarning) +warnings.warn('Importing from glue.viewers.matplotlib.qt.compute_worker is deprecated, use glue_qt.viewers.matplotlib.compute_worker instead', GlueDeprecationWarning) from glue_qt.viewers.matplotlib.compute_worker import * # noqa diff --git a/glue/viewers/matplotlib/qt/data_viewer.py b/glue/viewers/matplotlib/qt/data_viewer.py index 73f9c08ea..aa334f43c 100644 --- a/glue/viewers/matplotlib/qt/data_viewer.py +++ b/glue/viewers/matplotlib/qt/data_viewer.py @@ -1,4 +1,4 @@ import warnings from glue.utils.error import GlueDeprecationWarning -warnings.warn('Importing from glue.viewers.matplotlib.qt.data_viewer is deprecated, use glue_qt.viewers.matplotlib.data_viewer) instead', GlueDeprecationWarning) +warnings.warn('Importing from glue.viewers.matplotlib.qt.data_viewer is deprecated, use glue_qt.viewers.matplotlib.data_viewer instead', GlueDeprecationWarning) from glue_qt.viewers.matplotlib.data_viewer import * # noqa diff --git a/glue/viewers/matplotlib/qt/legend_editor.py b/glue/viewers/matplotlib/qt/legend_editor.py index f88b1d0f7..762f23046 100644 --- a/glue/viewers/matplotlib/qt/legend_editor.py +++ b/glue/viewers/matplotlib/qt/legend_editor.py @@ -1,4 +1,4 @@ import warnings from glue.utils.error import GlueDeprecationWarning -warnings.warn('Importing from glue.viewers.matplotlib.qt.legend_editor is deprecated, use glue_qt.viewers.matplotlib.legend_editor) instead', GlueDeprecationWarning) +warnings.warn('Importing from glue.viewers.matplotlib.qt.legend_editor is deprecated, use glue_qt.viewers.matplotlib.legend_editor instead', GlueDeprecationWarning) from glue_qt.viewers.matplotlib.legend_editor import * # noqa diff --git a/glue/viewers/matplotlib/qt/toolbar.py b/glue/viewers/matplotlib/qt/toolbar.py index 6543e821b..c2ec8c2be 100644 --- a/glue/viewers/matplotlib/qt/toolbar.py +++ b/glue/viewers/matplotlib/qt/toolbar.py @@ -1,4 +1,4 @@ import warnings from glue.utils.error import GlueDeprecationWarning -warnings.warn('Importing from glue.viewers.matplotlib.qt.toolbar is deprecated, use glue_qt.viewers.matplotlib.toolbar) instead', GlueDeprecationWarning) +warnings.warn('Importing from glue.viewers.matplotlib.qt.toolbar is deprecated, use glue_qt.viewers.matplotlib.toolbar instead', GlueDeprecationWarning) from glue_qt.viewers.matplotlib.toolbar import * # noqa diff --git a/glue/viewers/matplotlib/qt/toolbar_mode.py b/glue/viewers/matplotlib/qt/toolbar_mode.py index 5d0d14312..69af6a89e 100644 --- a/glue/viewers/matplotlib/qt/toolbar_mode.py +++ b/glue/viewers/matplotlib/qt/toolbar_mode.py @@ -1,4 +1,4 @@ import warnings from glue.utils.error import GlueDeprecationWarning -warnings.warn('Importing from glue.viewers.matplotlib.qt.toolbar_mode is deprecated, use glue_qt.viewers.matplotlib.toolbar_mode) instead', GlueDeprecationWarning) +warnings.warn('Importing from glue.viewers.matplotlib.qt.toolbar_mode is deprecated, use glue_qt.viewers.matplotlib.toolbar_mode instead', GlueDeprecationWarning) from glue_qt.viewers.matplotlib.toolbar_mode import * # noqa diff --git a/glue/viewers/matplotlib/qt/widget.py b/glue/viewers/matplotlib/qt/widget.py index 1175066eb..d9b1a89ac 100644 --- a/glue/viewers/matplotlib/qt/widget.py +++ b/glue/viewers/matplotlib/qt/widget.py @@ -1,4 +1,4 @@ import warnings from glue.utils.error import GlueDeprecationWarning -warnings.warn('Importing from glue.viewers.matplotlib.qt.widget is deprecated, use glue_qt.viewers.matplotlib.widget) instead', GlueDeprecationWarning) +warnings.warn('Importing from glue.viewers.matplotlib.qt.widget is deprecated, use glue_qt.viewers.matplotlib.widget instead', GlueDeprecationWarning) from glue_qt.viewers.matplotlib.widget import * # noqa diff --git a/glue/viewers/profile/qt/__init__.py b/glue/viewers/profile/qt/__init__.py index fad900669..2b9e5fa54 100644 --- a/glue/viewers/profile/qt/__init__.py +++ b/glue/viewers/profile/qt/__init__.py @@ -1,4 +1,4 @@ import warnings from glue.utils.error import GlueDeprecationWarning -warnings.warn('Importing from glue.viewers.profile.qt is deprecated, use glue_qt.viewers.profile) instead', GlueDeprecationWarning) +warnings.warn('Importing from glue.viewers.profile.qt is deprecated, use glue_qt.viewers.profile instead', GlueDeprecationWarning) from glue_qt.viewers.profile import * # noqa diff --git a/glue/viewers/profile/qt/data_viewer.py b/glue/viewers/profile/qt/data_viewer.py index 996f778f4..77ed871f7 100644 --- a/glue/viewers/profile/qt/data_viewer.py +++ b/glue/viewers/profile/qt/data_viewer.py @@ -1,4 +1,4 @@ import warnings from glue.utils.error import GlueDeprecationWarning -warnings.warn('Importing from glue.viewers.profile.qt.data_viewer is deprecated, use glue_qt.viewers.profile.data_viewer) instead', GlueDeprecationWarning) +warnings.warn('Importing from glue.viewers.profile.qt.data_viewer is deprecated, use glue_qt.viewers.profile.data_viewer instead', GlueDeprecationWarning) from glue_qt.viewers.profile.data_viewer import * # noqa diff --git a/glue/viewers/profile/qt/layer_artist.py b/glue/viewers/profile/qt/layer_artist.py index b1233e696..f584c22fd 100644 --- a/glue/viewers/profile/qt/layer_artist.py +++ b/glue/viewers/profile/qt/layer_artist.py @@ -1,4 +1,4 @@ import warnings from glue.utils.error import GlueDeprecationWarning -warnings.warn('Importing from glue.viewers.profile.qt.layer_artist is deprecated, use glue_qt.viewers.profile.layer_artist) instead', GlueDeprecationWarning) +warnings.warn('Importing from glue.viewers.profile.qt.layer_artist is deprecated, use glue_qt.viewers.profile.layer_artist instead', GlueDeprecationWarning) from glue_qt.viewers.profile.layer_artist import * # noqa diff --git a/glue/viewers/profile/qt/layer_style_editor.py b/glue/viewers/profile/qt/layer_style_editor.py index 5f53ee971..8ff0884bb 100644 --- a/glue/viewers/profile/qt/layer_style_editor.py +++ b/glue/viewers/profile/qt/layer_style_editor.py @@ -1,4 +1,4 @@ import warnings from glue.utils.error import GlueDeprecationWarning -warnings.warn('Importing from glue.viewers.profile.qt.layer_style_editor is deprecated, use glue_qt.viewers.profile.layer_style_editor) instead', GlueDeprecationWarning) +warnings.warn('Importing from glue.viewers.profile.qt.layer_style_editor is deprecated, use glue_qt.viewers.profile.layer_style_editor instead', GlueDeprecationWarning) from glue_qt.viewers.profile.layer_style_editor import * # noqa diff --git a/glue/viewers/profile/qt/mouse_mode.py b/glue/viewers/profile/qt/mouse_mode.py index 2477befbb..7c14a0143 100644 --- a/glue/viewers/profile/qt/mouse_mode.py +++ b/glue/viewers/profile/qt/mouse_mode.py @@ -1,4 +1,4 @@ import warnings from glue.utils.error import GlueDeprecationWarning -warnings.warn('Importing from glue.viewers.profile.qt.mouse_mode is deprecated, use glue_qt.viewers.profile.mouse_mode) instead', GlueDeprecationWarning) +warnings.warn('Importing from glue.viewers.profile.qt.mouse_mode is deprecated, use glue_qt.viewers.profile.mouse_mode instead', GlueDeprecationWarning) from glue_qt.viewers.profile.mouse_mode import * # noqa diff --git a/glue/viewers/profile/qt/options_widget.py b/glue/viewers/profile/qt/options_widget.py index 9e4703a29..93ff9ed25 100644 --- a/glue/viewers/profile/qt/options_widget.py +++ b/glue/viewers/profile/qt/options_widget.py @@ -1,4 +1,4 @@ import warnings from glue.utils.error import GlueDeprecationWarning -warnings.warn('Importing from glue.viewers.profile.qt.options_widget is deprecated, use glue_qt.viewers.profile.options_widget) instead', GlueDeprecationWarning) +warnings.warn('Importing from glue.viewers.profile.qt.options_widget is deprecated, use glue_qt.viewers.profile.options_widget instead', GlueDeprecationWarning) from glue_qt.viewers.profile.options_widget import * # noqa diff --git a/glue/viewers/profile/qt/profile_tools.py b/glue/viewers/profile/qt/profile_tools.py index c11bd4482..41eb0cf45 100644 --- a/glue/viewers/profile/qt/profile_tools.py +++ b/glue/viewers/profile/qt/profile_tools.py @@ -1,4 +1,4 @@ import warnings from glue.utils.error import GlueDeprecationWarning -warnings.warn('Importing from glue.viewers.profile.qt.profile_tools is deprecated, use glue_qt.viewers.profile.profile_tools) instead', GlueDeprecationWarning) +warnings.warn('Importing from glue.viewers.profile.qt.profile_tools is deprecated, use glue_qt.viewers.profile.profile_tools instead', GlueDeprecationWarning) from glue_qt.viewers.profile.profile_tools import * # noqa diff --git a/glue/viewers/scatter/qt/__init__.py b/glue/viewers/scatter/qt/__init__.py index 09ff2ae28..5c9d59659 100644 --- a/glue/viewers/scatter/qt/__init__.py +++ b/glue/viewers/scatter/qt/__init__.py @@ -1,4 +1,4 @@ import warnings from glue.utils.error import GlueDeprecationWarning -warnings.warn('Importing from glue.viewers.scatter.qt is deprecated, use glue_qt.viewers.scatter) instead', GlueDeprecationWarning) +warnings.warn('Importing from glue.viewers.scatter.qt is deprecated, use glue_qt.viewers.scatter instead', GlueDeprecationWarning) from glue_qt.viewers.scatter import * # noqa diff --git a/glue/viewers/scatter/qt/data_viewer.py b/glue/viewers/scatter/qt/data_viewer.py index 7e0400212..b9f1f1865 100644 --- a/glue/viewers/scatter/qt/data_viewer.py +++ b/glue/viewers/scatter/qt/data_viewer.py @@ -1,4 +1,4 @@ import warnings from glue.utils.error import GlueDeprecationWarning -warnings.warn('Importing from glue.viewers.scatter.qt.data_viewer is deprecated, use glue_qt.viewers.scatter.data_viewer) instead', GlueDeprecationWarning) +warnings.warn('Importing from glue.viewers.scatter.qt.data_viewer is deprecated, use glue_qt.viewers.scatter.data_viewer instead', GlueDeprecationWarning) from glue_qt.viewers.scatter.data_viewer import * # noqa diff --git a/glue/viewers/scatter/qt/layer_style_editor.py b/glue/viewers/scatter/qt/layer_style_editor.py index 4aaa9454f..39c7a490c 100644 --- a/glue/viewers/scatter/qt/layer_style_editor.py +++ b/glue/viewers/scatter/qt/layer_style_editor.py @@ -1,4 +1,4 @@ import warnings from glue.utils.error import GlueDeprecationWarning -warnings.warn('Importing from glue.viewers.scatter.qt.layer_style_editor is deprecated, use glue_qt.viewers.scatter.layer_style_editor) instead', GlueDeprecationWarning) +warnings.warn('Importing from glue.viewers.scatter.qt.layer_style_editor is deprecated, use glue_qt.viewers.scatter.layer_style_editor instead', GlueDeprecationWarning) from glue_qt.viewers.scatter.layer_style_editor import * # noqa diff --git a/glue/viewers/scatter/qt/options_widget.py b/glue/viewers/scatter/qt/options_widget.py index e721a29ca..fe1e5fc51 100644 --- a/glue/viewers/scatter/qt/options_widget.py +++ b/glue/viewers/scatter/qt/options_widget.py @@ -1,4 +1,4 @@ import warnings from glue.utils.error import GlueDeprecationWarning -warnings.warn('Importing from glue.viewers.scatter.qt.options_widget is deprecated, use glue_qt.viewers.scatter.options_widget) instead', GlueDeprecationWarning) +warnings.warn('Importing from glue.viewers.scatter.qt.options_widget is deprecated, use glue_qt.viewers.scatter.options_widget instead', GlueDeprecationWarning) from glue_qt.viewers.scatter.options_widget import * # noqa diff --git a/glue/viewers/table/qt/__init__.py b/glue/viewers/table/qt/__init__.py index 1ce39639e..6220498c9 100644 --- a/glue/viewers/table/qt/__init__.py +++ b/glue/viewers/table/qt/__init__.py @@ -1,4 +1,4 @@ import warnings from glue.utils.error import GlueDeprecationWarning -warnings.warn('Importing from glue.viewers.table.qt is deprecated, use glue_qt.viewers.table) instead', GlueDeprecationWarning) +warnings.warn('Importing from glue.viewers.table.qt is deprecated, use glue_qt.viewers.table instead', GlueDeprecationWarning) from glue_qt.viewers.table import * # noqa diff --git a/glue/viewers/table/qt/data_viewer.py b/glue/viewers/table/qt/data_viewer.py index 896108e10..e54734d0b 100644 --- a/glue/viewers/table/qt/data_viewer.py +++ b/glue/viewers/table/qt/data_viewer.py @@ -1,4 +1,4 @@ import warnings from glue.utils.error import GlueDeprecationWarning -warnings.warn('Importing from glue.viewers.table.qt.data_viewer is deprecated, use glue_qt.viewers.table.data_viewer) instead', GlueDeprecationWarning) +warnings.warn('Importing from glue.viewers.table.qt.data_viewer is deprecated, use glue_qt.viewers.table.data_viewer instead', GlueDeprecationWarning) from glue_qt.viewers.table.data_viewer import * # noqa