mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#4736 Commands.py renames
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import os
|
||||
import rips
|
||||
|
||||
resInsight = rips.Instance.find()
|
||||
resinsight = rips.Instance.find()
|
||||
|
||||
casePaths = []
|
||||
casePaths.append("C:/Users/lindk/source/repos/ResInsight/TestModels/Case_with_10_timesteps/Real0/BRUGGE_0000.EGRID")
|
||||
@@ -9,7 +9,7 @@ casePaths.append("C:/Users/lindk/source/repos/ResInsight/TestModels/Case_with_10
|
||||
for casePath in casePaths:
|
||||
assert os.path.exists(casePath), "You need to set valid case paths for this script to work"
|
||||
|
||||
caseGroup = resInsight.project.createGridCaseGroup(casePaths=casePaths)
|
||||
caseGroup = resinsight.project.create_grid_case_group(casePaths=casePaths)
|
||||
|
||||
caseGroup.printObjectInfo()
|
||||
|
||||
@@ -20,7 +20,7 @@ caseGroup.printObjectInfo()
|
||||
# statCase.update()
|
||||
# caseIds.append(statCase.getValue("CaseId"))
|
||||
|
||||
resInsight.commands.computeCaseGroupStatistics(caseGroupId=caseGroup.groupId)
|
||||
resinsight.commands.compute_case_group_statistics(caseGroupId=caseGroup.groupId)
|
||||
|
||||
view = caseGroup.views()[0]
|
||||
cellResult = view.cellResult()
|
||||
|
||||
Reference in New Issue
Block a user