| 677 | } |
| 678 | |
| 679 | bool mitk::nnInteractiveTool::CreatePythonContext() |
| 680 | { |
| 681 | try |
| 682 | { |
| 683 | m_Impl->CreatePythonContext(this->GetVirtualEnvName()); |
| 684 | } |
| 685 | catch (const Exception& e) |
| 686 | { |
| 687 | MITK_ERROR << e.GetDescription(); |
| 688 | return false; |
| 689 | } |
| 690 | |
| 691 | return true; |
| 692 | } |
| 693 | |
| 694 | mitk::PythonContext* mitk::nnInteractiveTool::GetPythonContext() const |
| 695 | { |
no test coverage detected