Closed mferrera closed 6 months ago
Attention: 31 lines
in your changes are missing coverage. Please review.
Comparison is base (
dea0e45
) 80.11% compared to head (dfa57a7
) 80.27%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
@jcrivenaes my thought was to indicate that these are private to users for now since they are liable to change quite a lot as things are moved into xtgeo.io
. I think it's extremely unlikely that anyone will use them -- but at least our bases would be covered by convention if they do.
I made an exception for typing purposes, though! xtgeo.io.FileFormat
/FileWrapper
is available only under a TYPE_CHECKING
guard, just as a small convenience.
With the added context, what do you think? I'm happy to move them public but I think it could be preferred to mark them private for now.
Resolves #1129
Getting the fileformat was reduced to one method call,
fmt = pfile.fileformat(fformat)
over the previous detection and proposal methods. It does basically the same thing but rolled into a single method. I want to remove this later, however, and do something like:This requires a bit more refactoring though for when a FileWrapper is made for exporting; too much for this PR, #1135