From: asl Date: Mon, 23 Jan 2017 12:19:12 +0000 (+0300) Subject: temporary commenting pytel X-Git-Tag: Salome_8_3_Hydro_2_0rc1~31^2~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c3c90c350ef9f1a1ae9f501827f53ae9ee6ae40e;p=modules%2Fhydrosolver.git temporary commenting pytel --- diff --git a/src/HYDROGUI/HYDROSOLVERGUI.py b/src/HYDROGUI/HYDROSOLVERGUI.py index bb74eb6..bb2f422 100755 --- a/src/HYDROGUI/HYDROSOLVERGUI.py +++ b/src/HYDROGUI/HYDROSOLVERGUI.py @@ -64,9 +64,9 @@ class GUIcontext: CREATE_COUPLING1D2D_CASE_ID = 948 EDIT_COUPLING1D2D_CASE_ID = 949 OPEN_SCHEMA_IN_YACS_ID = 950 - CREATE_PYTEL_CASE_ID = 951 - RUN_PYTEL_ID = 952 - EDIT_PYTEL_CASE_ID = 953 + #CREATE_PYTEL_CASE_ID = 951 + #RUN_PYTEL_ID = 952 + #EDIT_PYTEL_CASE_ID = 953 GENERATE_JOB = 954 DEFINE_BOUNDARY_CONDITIONS_ID = 955 EDIT_BOUNDARY_CONDITIONS_FILE_ID = 956 @@ -118,12 +118,12 @@ class GUIcontext: sgPyQt.createMenu( a, mid ) sgPyQt.createTool( a, tid ) - a = sgPyQt.createAction( GUIcontext.CREATE_PYTEL_CASE_ID, - "Create case for Pytel execution", "Create case for Pytel execution", - "Create a new case for Pytel execution", "create_case_pytel.png" ) + #a = sgPyQt.createAction( GUIcontext.CREATE_PYTEL_CASE_ID, + # "Create case for Pytel execution", "Create case for Pytel execution", + # "Create a new case for Pytel execution", "create_case_pytel.png" ) - sgPyQt.createMenu( a, mid ) - sgPyQt.createTool( a, tid ) + #sgPyQt.createMenu( a, mid ) + #sgPyQt.createTool( a, tid ) a = sgPyQt.createSeparator() sgPyQt.createMenu( a, mid ) @@ -154,10 +154,10 @@ class GUIcontext: sgPyQt.createAction( GUIcontext.OPEN_SCHEMA_IN_YACS_ID, "Open schema in YACS", "Open schema in YACS", "Open the selected 1D / 2D coupling schema in YACS" ) - sgPyQt.createAction( GUIcontext.RUN_PYTEL_ID, "Compute case", "Compute case", - "Run Pytel launcher to compute the case" ) - sgPyQt.createAction( GUIcontext.EDIT_PYTEL_CASE_ID, "Edit case", "Edit case", - "Edit the selected Pytel case" ) + #sgPyQt.createAction( GUIcontext.RUN_PYTEL_ID, "Compute case", "Compute case", + # "Run Pytel launcher to compute the case" ) + #sgPyQt.createAction( GUIcontext.EDIT_PYTEL_CASE_ID, "Edit case", "Edit case", + # "Edit the selected Pytel case" ) sgPyQt.createAction( GUIcontext.GENERATE_JOB, "Generate batch job", "Generate batch job", "Generate a batch job to run the selected case") @@ -273,10 +273,10 @@ def createPopupMenu(popup, context): popup.addAction(sgPyQt.action(GUIcontext.OPEN_SCHEMA_IN_YACS_ID)) elif selectedType == hydro_study.LOG_TYPE_ID: popup.addAction(sgPyQt.action(GUIcontext.SHOW_LOG_ID)) - elif selectedType == hydro_study.PYTEL_CASE_TYPE_ID: - popup.addAction(sgPyQt.action(GUIcontext.EDIT_PYTEL_CASE_ID)) - popup.addAction(sgPyQt.action(GUIcontext.RUN_PYTEL_ID)) - popup.addAction(sgPyQt.action(GUIcontext.GENERATE_JOB)) + #elif selectedType == hydro_study.PYTEL_CASE_TYPE_ID: + # popup.addAction(sgPyQt.action(GUIcontext.EDIT_PYTEL_CASE_ID)) + # popup.addAction(sgPyQt.action(GUIcontext.RUN_PYTEL_ID)) + # popup.addAction(sgPyQt.action(GUIcontext.GENERATE_JOB)) # called when GUI action is activated # action ID is passed as parameter @@ -471,10 +471,10 @@ dict_command = { GUIcontext.CREATE_COUPLING1D2D_CASE_ID: create_coupling1d2d_case, GUIcontext.EDIT_COUPLING1D2D_CASE_ID: edit_coupling1d2d_case, GUIcontext.OPEN_SCHEMA_IN_YACS_ID: open_schema_in_yacs, - GUIcontext.CREATE_PYTEL_CASE_ID: pytel_gui.create_case, - GUIcontext.RUN_PYTEL_ID: pytel_gui.run_selected_case, - GUIcontext.EDIT_PYTEL_CASE_ID: pytel_gui.edit_selected_case, - GUIcontext.GENERATE_JOB: pytel_gui.generate_job_for_selected_case, + #GUIcontext.CREATE_PYTEL_CASE_ID: pytel_gui.create_case, + #GUIcontext.RUN_PYTEL_ID: pytel_gui.run_selected_case, + #GUIcontext.EDIT_PYTEL_CASE_ID: pytel_gui.edit_selected_case, + #GUIcontext.GENERATE_JOB: pytel_gui.generate_job_for_selected_case, GUIcontext.DEFINE_BOUNDARY_CONDITIONS_ID: define_boundary_conditions, GUIcontext.EDIT_BOUNDARY_CONDITIONS_FILE_ID: edit_boundary_conditions_file, GUIcontext.GENERATE_INTERPOLZ_PY_ID: generate_interpolz_py, diff --git a/src/salome_hydro/CMakeLists.txt b/src/salome_hydro/CMakeLists.txt index 5300240..b9c6674 100644 --- a/src/salome_hydro/CMakeLists.txt +++ b/src/salome_hydro/CMakeLists.txt @@ -17,7 +17,7 @@ ADD_SUBDIRECTORY(mascaret) ADD_SUBDIRECTORY(telemac2d) -ADD_SUBDIRECTORY(pytel) +#ADD_SUBDIRECTORY(pytel) ADD_SUBDIRECTORY(coupling1d2d) ADD_SUBDIRECTORY(boundary_conditions)