From ce9360a882812ef6e4753c2bb2a265df8cce019f Mon Sep 17 00:00:00 2001 From: asl Date: Thu, 8 Dec 2016 17:33:24 +0300 Subject: [PATCH] debug --- CMakeLists.txt | 6 +++--- src/HYDROTools/interpolS.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) 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): -- 2.39.2