Skip to content

Commit

Permalink
dtype and dtypes properties, validate method, prep tests for models i…
Browse files Browse the repository at this point in the history
…nstead of hardcoded data, todo: generate and check in prt components
  • Loading branch information
wpbonelli committed May 23, 2024
1 parent 39b54c6 commit e19eec2
Show file tree
Hide file tree
Showing 7 changed files with 625 additions and 706 deletions.
4 changes: 2 additions & 2 deletions autotest/test_mp6.py
Original file line number Diff line number Diff line change
Expand Up @@ -308,9 +308,9 @@ def test_loadtxt(function_tmpdir, mp6_test_path):

pthfile = function_tmpdir / "EXAMPLE-3.pathline"
pthld = PathlineFile(pthfile)
ra = loadtxt(pthfile, delimiter=" ", skiprows=3, dtype=pthld.dtype)
ra = loadtxt(pthfile, delimiter=" ", skiprows=3, dtype=pthld._dtype)
ra2 = loadtxt(
pthfile, delimiter=" ", skiprows=3, dtype=pthld.dtype, use_pandas=False
pthfile, delimiter=" ", skiprows=3, dtype=pthld._dtype, use_pandas=False
)
assert np.array_equal(ra, ra2)

Expand Down
Loading

0 comments on commit e19eec2

Please sign in to comment.