Skip to content

Commit

Permalink
Add strategy for template at to_las function
Browse files Browse the repository at this point in the history
  • Loading branch information
neyberson committed Mar 28, 2024
1 parent 5e7f69b commit 6e0c936
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pozo/graphs.py
Original file line number Diff line number Diff line change
Expand Up @@ -367,9 +367,10 @@ def to_las_CurveItems(self, *selectors,**kwargs):
return lasio_list

def to_las(self, *selectors, **kwargs):
template = kwargs.pop("template", None)
strategy = kwargs.pop("strategy", "merge")

las = self.original_data # TODO hombre este no existe TODO TODO
if template is not None: las = template
curves = self.to_las_CurveItems(self, *selectors, **kwargs)

if strategy == "merge":
Expand Down

0 comments on commit 6e0c936

Please sign in to comment.