spinetoolbox.configuration_assistants.spine_opt.configuration_assistant¶
Widget for assisting the user in configuring SpineOpt.jl.
| author: |
|
|---|---|
| date: | 9.1.2019 |
Module Contents¶
Classes¶
SpineOptConfigurationAssistant |
A widget with a state machine. |
-
class
spinetoolbox.configuration_assistants.spine_opt.configuration_assistant.SpineOptConfigurationAssistant(toolbox)[source]¶ Bases:
spinetoolbox.widgets.state_machine_widget.StateMachineWidgetA widget with a state machine.
Initializes class.
Parameters: - window_title (str) –
- parent (QMainWindow) –
-
resolve_python(self)[source]¶ Returns the full path to Python interpreter according to user’s Settings.
-
check_kernel_is_ok(self, kernel_name, prgm)[source]¶ Checks that kernel spec is valid for the configuration assistant to continue.
Parameters: - kernel_name (str) – Kernel name
- prgm (str) – Either “Python” or “Julia”, determines which kernel type to check
Returns: True if kernel is ok, False otherwise
Return type: bool