mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Python: fixes that makes all examples run properly again
This commit is contained in:
@@ -111,7 +111,7 @@ class Case (PdmObject):
|
||||
|
||||
def views(self):
|
||||
"""Get a list of views belonging to a case"""
|
||||
pbmObjects = self.children("ReservoirView")
|
||||
pbmObjects = self.children("ReservoirViews")
|
||||
viewList = []
|
||||
for pbmObject in pbmObjects:
|
||||
viewList.append(View(pbmObject))
|
||||
|
||||
Reference in New Issue
Block a user