From: asl Date: Thu, 8 Dec 2016 14:33:24 +0000 (+0300) Subject: debug X-Git-Tag: v1.6 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=ce9360a882812ef6e4753c2bb2a265df8cce019f;p=modules%2Fhydrosolver.git debug --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 9b41d1b..23fbc6e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -63,9 +63,9 @@ OPTION(SALOME_BUILD_DOC "Generate SALOME HYDROSOLVER documentation" ON) ## ## From KERNEL: ## -#FIND_PACKAGE(SalomePythonInterp REQUIRED) -#FIND_PACKAGE(SalomePythonLibs REQUIRED) -FIND_PACKAGE(SalomePython REQUIRED) +FIND_PACKAGE(SalomePythonInterp REQUIRED) +FIND_PACKAGE(SalomePythonLibs REQUIRED) +#FIND_PACKAGE(SalomePython REQUIRED) FIND_PACKAGE(SalomeOmniORB REQUIRED) FIND_PACKAGE(SalomeOmniORBPy REQUIRED) FIND_PACKAGE(SalomeSWIG REQUIRED) diff --git a/src/HYDROTools/interpolS.py b/src/HYDROTools/interpolS.py index 000df60..8401a96 100644 --- a/src/HYDROTools/interpolS.py +++ b/src/HYDROTools/interpolS.py @@ -16,7 +16,7 @@ import HYDROPy # Get current study id salome.salome_init() theStudy = salome.myStudy -theStudyId = salome.myStudyId +theStudyId = salome.myStudy._get_StudyId() """Bad parameters exception""" class BadParamsError(ValueError):