properties.py: removed class EclipseState.

This commit is contained in:
Steinar Foss
2019-09-13 09:56:22 +02:00
parent b97503d34d
commit 15d70c446f

View File

@@ -5,18 +5,13 @@ from opm import libopmcommon_python as lib
from .sunbeam import delegate
from ..schedule import Schedule
@delegate(lib.EclipseState)
class EclipseState(object):
def __repr__(self):
return 'EclipseState(title = "%s")' % self.title
@delegate(lib.SunbeamState)
class SunbeamState(object):
@property
def state(self):
return EclipseState(self._state())
return self._state()
@property