Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
jcrivenaes committed Oct 3, 2023
1 parent 1aaf8b0 commit 91af124
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/xtgeo/xyz_common/_xyz_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ def zname(self):
return self._zname

def _infer_attr_dtypes(self):
"""Return as dict on form {"X_UTME": "CONT", .... "FACIES": "DISC"}.
"""Return as dict on form {"X_UTME": _AttrType.CONT, "FACIES": _AttrType.DISC}.
There are some important restrictions:
* The first 3 columns X Y Z) are always CONT, even if input appears as DISC.
Expand All @@ -173,8 +173,8 @@ def _infer_attr_dtypes(self):
datatypes = {}
for name, dtype in dlist.items():
if name in self._attr_types:
# do not change already set attr_types
datatypes[name] = self._attr_types[name]

continue

if name in (self._xname, self._yname, self._zname):
Expand Down

0 comments on commit 91af124

Please sign in to comment.