Skip to content

Commit

Permalink
CI: ensure pure python code when testing forks.
Browse files Browse the repository at this point in the history
The idea here is that random error on Windows are
*maybe* caused by  the bindings to C made here.
Earlier we have seen that calling the routines
using C (swig) in xtgeo may have issues when
doing forking/multiporccessing.
  • Loading branch information
jcrivenaes committed Sep 9, 2024
1 parent 46564b3 commit fa3aa93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/multiprocess_surfs.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def _get_regsurff(i):
sfile = TESTFILE

logger.info("File is %s", sfile)
rf = xtgeo.surface_from_file(sfile)
rf = xtgeo.surface_from_file(sfile, fformat="irap_binary", engine="python")
logger.info("End %s", i)
return rf

Expand Down

0 comments on commit fa3aa93

Please sign in to comment.