diff --git a/src/xtgeo_utils2/avghc/_loader.py b/src/xtgeo_utils2/avghc/_loader.py index 22ec4da..b2af3a9 100644 --- a/src/xtgeo_utils2/avghc/_loader.py +++ b/src/xtgeo_utils2/avghc/_loader.py @@ -91,7 +91,7 @@ def include_from(self, node): if isinstance(node, yaml.ScalarNode): filename, val = self.construct_scalar(node).split('::') - result = yaml.full_load(open(filename, 'r')) + result = yaml.safe_load(open(filename, 'r')) self._root = oldroot fields = val.strip().split('.')