4.6. Extras Menu

Figure 4.22. Extras Menu

Extras Menu

4.6.1. Reload Module Database (Keep Cache)

Reloads the .def, .script, and .py/.js files of modules that have been changed after last reload. Use to

  • add newly defined modules to the module database.

  • update changes on module interfaces and scripting.

4.6.2. Reload Module Database (Clear Cache)

Reloads all modules in the database like Section 4.6.1, “Reload Module Database (Keep Cache)” but clears the cache.

[Note]Note

This may be slow, especially if many module panels are currently open in the network(s). To update current changes on module interfaces and scripting faster, use Section 4.6.1, “Reload Module Database (Keep Cache)”.

4.6.3. Reload Imported Python Modules

This feature is only relevant when using the Python import functionality and working on the imported modules.

Reloads imported Python modules (not MeVisLab modules that use Python). This was previously only possible via a manual reload() call or a MeVisLab restart.

[Note]Note

After the Python modules have been reloaded, reload the MeVisLab modules that make use of the Python module(s). Otherwise the MeVisLab modules will still see the previously imported Python modules.

4.6.4. Run Module Tests

Starts the TestCenter for a module selection, by default for the modules selected in the Module Search browser window (see Chapter 12, Module Search). By changing the filter settings in the extra window, other modules can be selected for testing. For all modules, the test cases associated with the module(s) are be listed here. In case of TestWebView, only the two generic test cases “Formal” and “Meta” that are associated with all modules are available. When Finish is clicked, the test cases are run and test reports are available.

Figure 4.23. Module Selection

Module Selection

[Tip]Tip

To run tests on several modules in a network, select them, open the network context menu and select Run Tests On Selection. For single modules, start the tests via the module context menu.

For further information, see the TestCenter Reference and the Getting Started, chapter 16, Using the TestCenter.

4.6.5. Generate Module Reference for User Packages (HTML)

Creates an HTML index for the help files of modules in the user packages (one index for each PackageGroup).

4.6.6. Debug Widgets

Enables/disables debugging module panels. CTRL+left-clicking a user interface control in a module panel opens the .script file (MDL source code of the GUI) in the integrated text editor at the line in which this GUI control is defined.

[Note]Note

To be able to jump to the definition line of the user interface control with any other text editor than MATE, the parameter %f(%l) has to be set in the Preferences, see Section 4.3.4, “Preferences — Supportive Programs”.

4.6.7. Show Connector Details

Show detailed info about image, Inventor or base object properties currently pending on module's connectors. Activated when selecting a single module in the network. Same option as Connector Detail Info in the Preferences, see Section 4.3.7, “Preferences — Network Appearance”

4.6.8. Show Image Connector Preview

Show image preview on a module's image connectors when selecting a single module in the network. Same option as Connector Image Preview in the Preferences, see Section 4.3.7, “Preferences — Network Appearance”.

4.6.9. Clear Image Cache

Frees cached image pages of all ML modules in currently opened networks. All image pages that are currently not in request in any module pipeline are cleared and have to be recalculated the next time they are requested. See the ML Guide for details.