get_num_cpu hangs on empty SLAVES section
eivindjahren opened this issue · comments
from resdata import ResdataUtil
def test_failure():
data_contents = "SLAVES/\n"
with open("TEST.DATA", "w") as f:
f.write(data_contents)
print(ResdataUtil.get_num_cpu("TEST.DATA"))
Turns out this was actually unproblematic