Skip to content

Commit 55739ad

Browse files
authored
Downstream rename ert to ecl (equinor#21)
reflect ert.ecl renamed to ecl.ecl * rename ert->res in python/python * ert -> res * s/ert.geo/ecl.geo/g * s/ert.sched/ecl.sched/g * s/ert.util/ecl.util/g * s/ert.ecl/ecl.ecl/g * decrease scipy req
1 parent ec16909 commit 55739ad

File tree

24 files changed

+34
-35
lines changed

24 files changed

+34
-35
lines changed

.gitignore

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,5 @@ python/lib64
2222
scratch.sparsebundle
2323
*.iml
2424
*.DS_Store
25-
__ert_lib_path.py
26-
__ert_lib_info.py
27-
25+
__res_lib_path.py
26+
__res_lib_info.py

docs/course/config/jobs/snake_oil_diff.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env python
2-
from ert.ecl import EclSum
2+
from ecl.ecl import EclSum
33

44
def writeDiff(filename, vector1, vector2):
55
with open(filename, "w") as f:

docs/course/config/jobs/snake_oil_npv.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env python
2-
from ert.ecl import EclSum
2+
from ecl.ecl import EclSum
33

44
OIL_PRICES = {"2010-01-01": 78.33,
55
"2010-02-01": 76.39,

docs/course/config/jobs/snake_oil_simulator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import os
44
import sys
55

6-
from ert.ecl import EclSum, EclSumTStep
6+
from ecl.ecl import EclSum, EclSumTStep
77
from ert.test import ExtendedTestCase
88

99
try:

python/CMakeLists.txt

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,17 @@ set(PYTHON_INSTALL_PREFIX "lib/python${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_M
2222
foreach( PREFIX_PATH ${CMAKE_PREFIX_PATH} )
2323
set(tmp_PYTHONPATH "${PREFIX_PATH}/${PYTHON_INSTALL_PREFIX}:$ENV{PYTHONPATH}")
2424
set(ENV{PYTHONPATH} ${tmp_PYTHONPATH})
25-
python_package(ert 2.1.0)
26-
if (DEFINED PY_ert)
25+
python_package(ecl 2.1.0)
26+
if (DEFINED PY_ecl)
2727
break()
2828
endif()
2929
endforeach()
3030

3131

32-
if (NOT DEFINED PY_ert)
32+
if (NOT DEFINED PY_ecl)
3333
message(SEND_ERROR "Existing ert installation not found")
3434
endif()
35-
set( ERT_PYTHONPATH ${PY_ert_PATH} )
35+
set( ERT_PYTHONPATH ${PY_ecl_PATH} )
3636

3737
#-----------------------------------------------------------------
3838
# Find an existing cwrap distribution
@@ -59,12 +59,12 @@ endif()
5959
#-----------------------------------------------------------------
6060

6161
if (ERT_BUILD_GUI)
62-
python_package(PyQt4 4.8.0)
63-
python_package( matplotlib 1.2.0 )
64-
python_package( pandas 0.15.1)
65-
python_package( scipy 0.16.1 )
62+
python_package(PyQt4 4.8.0)
63+
python_package(matplotlib 1.2.0)
64+
python_package(pandas 0.15.1)
65+
python_package(scipy 0.12.1)
6666
if(NOT DEFINED PY_PyQt4 OR NOT DEFINED PY_matplotlib OR NOT DEFINED PY_scipy OR NOT DEFINED PY_pandas)
67-
message(SEND_ERROR "Cannot build GUI without PyQt4, matplotlib, scipy, and pandas")
67+
message(SEND_ERROR "Cannot build GUI without PyQt4, matplotlib, scipy, or pandas")
6868
endif()
6969
endif()
7070

python/python/ert_gui/about_dialog.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
from PyQt4.QtCore import Qt, QSize
1818
from PyQt4.QtGui import QDialog, QVBoxLayout, QPushButton, QHBoxLayout, QLabel, QFont
19-
from ert.util import Version
19+
from ecl.util import Version
2020
from ert_gui.ertwidgets import resourceImage
2121

2222

python/python/ert_gui/ertplot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
from PyQt4.QtGui import QApplication
55
import time
66
from ert.enkf import EnKFMain
7-
from ert.util import Version
7+
from ecl.util import Version
88
from ert_gui.ert_splash import ErtSplash
99
from ert_gui.ertwidgets import resourceIcon
1010
from ert_gui.tools.plot.plot_window import PlotWindow

python/python/ert_gui/ertwidgets/models/activerealizationsmodel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from ert.util import BoolVector
1+
from ecl.util import BoolVector
22
from ert_gui.ertwidgets.models.valuemodel import ValueModel
33
from ert_gui.ertwidgets.models.ertmodel import getRealizationCount
44

python/python/ert_gui/ertwidgets/models/ertmodel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
from ert.analysis.enums.analysis_module_options_enum import AnalysisModuleOptionsEnum
33
from ert.enkf import RealizationStateEnum, EnkfVarType
44
from ert.job_queue import WorkflowRunner
5-
from ert.util import BoolVector, StringList
5+
from ecl.util import BoolVector, StringList
66
from ert_gui import ERT
77
from ert_gui.ertwidgets import showWaitCursorWhileWaiting
88

python/python/ert_gui/gert_main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@
119119

120120
import ert_gui.ertwidgets
121121
from ert.enkf import EnKFMain
122-
from ert.util import Version
122+
from ecl.util import Version
123123
from ert_gui.ert_splash import ErtSplash
124124
from ert_gui.ertwidgets import SummaryPanel, resourceIcon
125125
from ert_gui.main_window import GertMainWindow

0 commit comments

Comments
 (0)