MCPcopy Create free account
hub / github.com/MITK/MITK / CreatePythonContext

Method CreatePythonContext

Modules/PythonSegmentation/src/mitknnInteractiveTool.cpp:679–692  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

677}
678
679bool 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
694mitk::PythonContext* mitk::nnInteractiveTool::GetPythonContext() const
695{

Callers 2

InstallMethod · 0.45
RunUpdateMethod · 0.45

Calls 2

GetVirtualEnvNameMethod · 0.95
GetDescriptionMethod · 0.45

Tested by

no test coverage detected