Skip to content

Commit

Permalink
Merge pull request #71 from jonnymaserati/bug/missing_section
Browse files Browse the repository at this point in the history
Pass tolerance params to user
  • Loading branch information
jonnymaserati authored Jun 5, 2021
2 parents 946578b + 0ce3f41 commit ff4ed8f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions welleng/exchange/csv.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from welleng.version import __version__


def export_csv(survey, filename):
def export_csv(survey, filename, rtol=0.1, atol=0.1):
"""
Function to export a minimalist (only the control points - i.e. the begining
and end points of hold and/or turn sections) survey to input into third
Expand All @@ -14,7 +14,7 @@ def export_csv(survey, filename):
filename: str
The path and filename for saving the text file.
"""
sections = survey._get_sections()
sections = survey._get_sections(rtol=rtol, atol=atol)

data = [[
tp.md,
Expand Down
2 changes: 1 addition & 1 deletion welleng/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '0.2.18'
__version__ = '0.2.19'

0 comments on commit ff4ed8f

Please sign in to comment.