#4736 Commands.py renames

This commit is contained in:
Gaute Lindkvist
2019-09-19 13:25:04 +02:00
parent e5987c26d7
commit 0657bd1f11
31 changed files with 290 additions and 275 deletions

View File

@@ -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()