Skip to content

Commit

Permalink
Fix deprecation warning in python scripts (#1089)
Browse files Browse the repository at this point in the history
  • Loading branch information
marchdf authored Jun 4, 2024
1 parent f43b071 commit b239ecd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions test/test_files/fextrema_compare.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@
# Read the files
cols = ["variables", "minimum_value", "maximum_value"]
input = pd.read_csv(
args.fname, delim_whitespace=True, skiprows=3, header=None, names=cols
args.fname, sep="\s+", skiprows=3, header=None, names=cols
).sort_values(by=["variables"])
gold = pd.read_csv(
args.gold, delim_whitespace=True, skiprows=3, header=None, names=cols
args.gold, sep="\s+", skiprows=3, header=None, names=cols
).sort_values(by=["variables"])

# Compare
Expand Down
2 changes: 1 addition & 1 deletion test/test_files/mms/plotter.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@

lst = []
for k, fdir in enumerate(args.fdirs):
df = pd.read_csv(os.path.join(fdir, "mms.log"), delim_whitespace=True)
df = pd.read_csv(os.path.join(fdir, "mms.log"), sep="\s+")
df["res"] = float(fdir)
lst.append(df.iloc[-1])

Expand Down

0 comments on commit b239ecd

Please sign in to comment.