Skip to content

Commit

Permalink
fixing code formatting error.
Browse files Browse the repository at this point in the history
  • Loading branch information
MahmoudAlamar03 committed Nov 13, 2024
1 parent 523676c commit 7bd1fef
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions resqpy/well/well_object_funcs.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def add_wells_from_ascii_file(model,
crs_uuid,
trajectory_file,
comment_character = '#',
space_separated_instead_of_csv=False,
space_separated_instead_of_csv = False,
well_col = 'WELL',
md_col = 'MD',
x_col = 'X',
Expand Down Expand Up @@ -77,9 +77,7 @@ def add_wells_from_ascii_file(model,
assert crs_uuid is not None, 'coordinate reference system not found when trying to add wells'

try:
df = pd.read_csv(trajectory_file,
comment = comment_character,
sep=r'\s+')
df = pd.read_csv(trajectory_file, comment = comment_character, sep=r'\s+')
if df is None:
raise Exception
except Exception:
Expand Down

0 comments on commit 7bd1fef

Please sign in to comment.