Skip to content

Commit

Permalink
fix math strings with single escape chars - test files
Browse files Browse the repository at this point in the history
  • Loading branch information
akeeste committed Nov 26, 2024
1 parent 2c85a75 commit 8a455e7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mhkit/tests/wave/io/test_ndbc.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def setUpClass(self):
}
self.filenames = ["46042w1996.txt.gz", "46029w1997.txt.gz", "46029w1998.txt.gz"]
self.swden = pd.read_csv(
join(datadir, self.filenames[0]), sep=r"\s+", compression="gzip"
join(datadir, self.filenames[0]), sep=r"\\s+", compression="gzip"
)

buoy = "42012"
Expand Down
2 changes: 1 addition & 1 deletion mhkit/tests/wave/io/test_swan.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def setUpClass(self):
self.swan_block_txt_file = join(swan_datadir, "SWANOUTBlock.DAT")
self.expected_table = pd.read_csv(
self.table_file,
sep="\s+",
sep="\\s+",
comment="%",
names=["Xp", "Yp", "Hsig", "Dir", "RTpeak", "TDir"],
)
Expand Down

0 comments on commit 8a455e7

Please sign in to comment.