mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
14 lines
287 B
Python
14 lines
287 B
Python
import sys
|
|
import os
|
|
|
|
sys.path.insert(1, os.path.join(sys.path[0], '..'))
|
|
import rips
|
|
|
|
resInsight = rips.Instance.find()
|
|
if resInsight is not None:
|
|
cases = resInsight.project.cases()
|
|
|
|
print ("Got " + str(len(cases)) + " cases: ")
|
|
for case in cases:
|
|
print(case.name)
|