Skip to content

Commit

Permalink
Merge pull request #67 from arjunsavel/fix_pandas_read [skip ci]
Browse files Browse the repository at this point in the history
Fix pandas read
  • Loading branch information
arjunsavel authored Aug 22, 2024
2 parents 603c509 + f1cb505 commit e3296ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/scope/input_output.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ def parse_input_file(
# Read the remaining lines with pandas
df = pd.read_csv(
io.StringIO("\n".join(data_lines)),
delim_whitespace=True,
sep=r"\s+",
header=None,
names=["parameter", "value"],
comment="#",
Expand Down
2 changes: 1 addition & 1 deletion src/scope/tellurics.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def read_atran(path):
path,
index_col=0,
names=["wav", "depth"],
delim_whitespace=True,
sep=r"\s+",
).drop_duplicates(subset=["wav"])

return atran
Expand Down

0 comments on commit e3296ba

Please sign in to comment.