6.4.4. Legacy to current
This page is generated from the deprecation warnings raised by the PyMoDAQ source code (deprecation_msg calls and
DeprecationWarning). It lists what is still accepted but should not be used in new code, and what to use instead.
Models trained on older versions of PyMoDAQ, and old plugins, still use the names on the left: do not copy them.
Besides these entries, the word preset is obsolete: the Dashboard is used through the experiment manager and the
state manager. In the plugins, check_plugin reports most of the names below (see Instrument Plugins).
Do not edit this file by hand, run python docs/legacy_to_current.py after adding a deprecation.
6.4.4.1. pymodaq.control_modules.daq_move
|
Move_Stoped is deprecated, use the move_done_signal instead |
|
actuator_type is deprecated, use plugin_name |
|
check_position is deprecated, use get_actuator_value |
|
hardware is deprecated, use plugin |
|
hardware_adress is deprecated, use controller_address |
|
Returns from init_stage should now be a string and a boolean, see pymodaq_plugins_template |
|
ini_stage is deprecated, use ini_hardware |
|
motion_stoped is deprecated, use motion_stopped |
6.4.4.2. pymodaq.control_modules.daq_viewer
|
viewers_docks is a deprecated property use viewer_docks instead |
|
controller_adress is deprecated, use controller_address |
|
detector is deprecated, use plugin |
|
detector_name is deprecated, use plugin_name |
|
ini_detector is deprecated, use ini_hardware |
6.4.4.3. pymodaq.control_modules.move_utility_classes
|
The property controller_units is deprecated please use theaxis_unit property. |
|
current_position attribute should not be used, use current_value |
|
check_position method in plugins is deprecated, use get_actuator_value |
|
using ‘stage_names’ class attribute in plugins is deprecated, please use’_axis_names’ instead |
|
‘ini_stage_init’ is deprecated, use ‘ini_controller_init’ instead. |
|
move_Abs method in plugins is deprecated, use move_abs |
|
move_Home method in plugins is deprecated, use move_home |
|
move_Rel method in plugins is deprecated, use move_rel |
|
target_position attribute should not be used, use target_value |
6.4.4.4. pymodaq.control_modules.plugin_base
|
Accessing settings with the legacy name(s) … is deprecated and will be removed in a future release. Use … instead. |
6.4.4.5. pymodaq.control_modules.viewer_utility_classes
|
Data emitted from the instrument plugins should be a DataToExport instanceSee: http://pymodaq.cnrs.fr/en/latest/developer_folder/instrument_plugins.html#emission-of-data |
|
Data emitted from the instrument plugins should be a DataToExport instanceSee: http://pymodaq.cnrs.fr/en/latest/developer_folder/instrument_plugins.html#emission-of-data |
|
‘ini_detector_init’ is deprecated, use ‘ini_controller_init’ instead. |
6.4.4.6. pymodaq.daq_utils.daq_utils
(on import) |
Importing daq_utils stuff from pymodaq is deprecated in pymodaq>5.0.0,please use the pymodaq_utils.utils module |
6.4.4.7. pymodaq.extensions.custom_ext
(on import) |
Importing CustomExt from pymodaq.extensions.custom_ext is deprecated, use pymodaq.utils.custom_ext instead |
6.4.4.8. pymodaq.extensions.h5browser
(on import) |
H5Browser should now be loaded from the pymodaq_gui.h5modules.h5browser module |
6.4.4.9. pymodaq.extensions.pid.utils
|
DataToActuatorPID object is deprecated use: pymodaq.utils.data:DataToActuators |
6.4.4.10. pymodaq.scripting
(on import) |
Please do not import Scripting Devices from pymodaq.scripting, but from pymodaq_scripting package directly |
6.4.4.11. pymodaq.utils.array_manipulation
(on import) |
Importing array_manipulation stuff from pymodaq is deprecated in pymodaq>5.0.0,please use the pymodaq_utils.array_manipulation module |
6.4.4.12. pymodaq.utils.data
|
‘plot’ should not be used anymore as extra_attribute, please use ‘do_plot’ |
|
‘save’ should not be used anymore as extra_attribute, please use ‘do_save’ |
6.4.4.13. pymodaq.utils.enums
(on import) |
Importing enums stuff from pymodaq is deprecated in pymodaq>5.0.0,please use the pymodaq_utils.enums module |
6.4.4.14. pymodaq.utils.gui_utils.utils
(on import) |
Importing get_splash_sc stuff from pymodaq is deprecated in pymodaq>5.0.0,please use the same method from the pymodaq_gui.utils.splash module |
6.4.4.15. pymodaq.utils.gui_utils.widgets.lcd
(on import) |
Importing LCD from pymodaq is deprecated in pymodaq>5.0.0,please use the same method from the pymodaq_gui.utils.widgets.lcd module |
6.4.4.16. pymodaq.utils.gui_utils.widgets.window
(on import) |
Importing make_window from pymodaq is deprecated in pymodaq>=5.2.0,please use the same method from the pymodaq_gui.utils.widgets.window module |
6.4.4.17. pymodaq.utils.logger
(on import) |
Importing logger stuff from pymodaq is deprecated in pymodaq>5.0.0,please use the pymodaq_utils package |
6.4.4.18. pymodaq.utils.managers.experiment.experiment_manager
|
list_control_modules_from_preset is deprecated, use list_control_modules_from_experiment |
|
remove_preset_related_files is deprecated, use remove_experiment_related_files |
6.4.4.19. pymodaq.utils.managers.modules.module_settings_manager
|
‘move_settings’ is deprecated and will be removed in a future version. Use ‘…’ instead. Please resave your experiment. |
6.4.4.20. pymodaq.utils.managers.modules.modules_manager
|
get_det_data_list() is deprecated, use probe_detectors() instead |
|
test_move_actuators() is deprecated, use probe_actuators() instead |
6.4.4.21. pymodaq.utils.math_utils
(on import) |
Importing math_utils stuff from pymodaq is deprecated in pymodaq>5.0.0,please use the pymodaq_utils.math_utils module |
6.4.4.22. pymodaq.utils.messenger
(on import) |
importing messagebox from pymodaq directly is deprecated. It should now be imported from pymodaq_gui.messenger |
6.4.4.23. pymodaq.utils.parameter
(on import) |
Importing Parameter stuff from pymodaq is deprecated in pymodaq>5.0.0,please use the pymodaq_gui package |
6.4.4.24. pymodaq.utils.parameter.utils
(on import) |
Importing Parameter stuff from pymodaq is deprecated in pymodaq>5.0.0,please use the pymodaq_gui.parameter module |
6.4.4.25. pymodaq_data.data
|
nav_axes parameter should not be used anymore, use nav_indexes |
|
attributes from an Axis object should not be fetched using __getitem__ |
|
nav_axes parameter should not be used anymore, use nav_indexes |
|
NavAxis should not be used anymore, please use Axis object with correct index.The navigation index should be specified in the Data object |
6.4.4.26. pymodaq_gui.managers.action_manager
|
click for PyMoDAQ’s QAction is deprecated, use *trigger* |
|
clicked for PyMoDAQ’s QAction is deprecated, use *trigger* |
6.4.4.27. pymodaq_gui.parameter.pymodaq_ptypes.action_led
|
ActionLedParameter value should be a state name string (‘true’/’false’), not a bool. Bool support will be removed in a future version. |
|
ActionLedWidget.setValue() received a bool; pass a state name string (‘true’/’false’) instead. Bool support will be removed in a future version. |
6.4.4.28. pymodaq_gui.utils.custom_app
|
You should not define setup_docks anymore, use `setup_docks_and_widgets` instead |
|
You should not define setup_menu anymore, use `setup_menus_and_toolbars` instead |
6.4.4.29. pymodaq_gui.utils.utils
|
Importing mkQApp from pymodaq_gui.utils.utils is deprecated, please use pymodaq_gui.qt_utils module instead |
6.4.4.30. pymodaq_utils.plugin_testing
|
pymodaq_utils.plugin_testing is deprecated, use pymodaq.utils.plugin_testing instead |
6.4.4.31. pymodaq_utils.utils
|
ThreadCommand signature changed, use attribute in place of attributes |
6.4.4.32. pymodaq_utils.warnings
|
… |