Skip to content

Commit

Permalink
Correct location of demo data files for updated documentation location
Browse files Browse the repository at this point in the history
  • Loading branch information
jranalli committed Jul 18, 2024
1 parent 1ed40ae commit 8b0d6dd
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@
'scipy'
],
license='BSD (3 Clause)',
extras_require=dict(tests=['pytest'], demos=['matplotlib', 'jupyter'], docs=['sphinx']),
extras_require=dict(tests=['pytest'], demos=['matplotlib', 'jupyter'], docs=['sphinx', 'nbsphinx', 'sphinx_rtd_theme']),
)
6 changes: 3 additions & 3 deletions tests/test_cmv.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def test_cmv_artificial(theta_deg, velocity, mode):


def test_cmv_gagne_data():
datafile = "../demos/data/sample_plant_1.h5"
datafile = "../docs/sphinx/source/demos/data/sample_plant_1.h5"
pos_utm = pd.read_hdf(datafile, mode="r", key="utm")
df = pd.read_hdf(datafile, mode="r", key="data_a")

Expand All @@ -115,7 +115,7 @@ def test_cmv_gagne_data():


def test_cmv_jamaly_data():
datafile = "../demos/data/sample_plant_1.h5"
datafile = "../docs/sphinx/source/demos/data/sample_plant_1.h5"
pos_utm = pd.read_hdf(datafile, mode="r", key="utm")
df = pd.read_hdf(datafile, mode="r", key="data_a")

Expand All @@ -133,7 +133,7 @@ def test_cmv_jamaly_data():
def test_cmv_jamaly_data_ref():
# A test using a reference when we calculate the CMV

datafile = "../demos/data/sample_plant_1.h5"
datafile = "../docs/sphinx/source/demos/data/sample_plant_1.h5"
pos_utm = pd.read_hdf(datafile, mode="r", key="utm")
df = pd.read_hdf(datafile, mode="r", key="data_a")

Expand Down
2 changes: 1 addition & 1 deletion tests/test_field.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def test_compute_predicted_position_static(refdat):
ref = refdat[2][0]
expect = refdat[2][1]

datafile = "../demos/data/sample_plant_2.h5"
datafile = "../docs/sphinx/source/demos/data/sample_plant_2.h5"
cmv_a = spatial.pol2rect(9.52, 0.62)
cmv_b = spatial.pol2rect(8.47, 2.17)

Expand Down

0 comments on commit 8b0d6dd

Please sign in to comment.