Skip to content

Commit 9bb4f5f

Browse files
committed
Fixed data path
1 parent 19eeb0a commit 9bb4f5f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tests/test_pushrimkinetics.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,12 @@ def test_read_smartwheel():
3737
"""Test that read_file works similarly for SW's csv and txt files."""
3838
kinetics_csv = ktk.ext.pushrimkinetics.read_smartwheel(
3939
ktk.ext.root_folder
40-
+ "/data/pushrimkinetics/pushrimkinetics_propulsion.csv"
40+
+ "/data/pushrimkinetics_propulsion.csv"
4141
)
4242

4343
kinetics_txt = ktk.ext.pushrimkinetics.read_smartwheel(
4444
ktk.ext.root_folder
45-
+ "/data/pushrimkinetics/pushrimkinetics_propulsion.txt"
45+
+ "/data/pushrimkinetics_propulsion.txt"
4646
)
4747

4848
smaller = min(kinetics_csv.time.shape[0], kinetics_txt.time.shape[0])
@@ -64,12 +64,12 @@ def test_remove_offsets():
6464
"""Test that remove_offsets works with and without a baseline."""
6565
kinetics = ktk.ext.pushrimkinetics.read_smartwheel(
6666
ktk.ext.root_folder
67-
+ "/data/pushrimkinetics/pushrimkinetics_offsets_propulsion.csv"
67+
+ "/data/pushrimkinetics_offsets_propulsion.csv"
6868
)
6969

7070
baseline = ktk.ext.pushrimkinetics.read_smartwheel(
7171
ktk.ext.root_folder
72-
+ "/data/pushrimkinetics/pushrimkinetics_offsets_baseline.csv"
72+
+ "/data/pushrimkinetics_offsets_baseline.csv"
7373
)
7474

7575
no_offsets1 = ktk.ext.pushrimkinetics.remove_offsets(kinetics)
@@ -90,7 +90,7 @@ def test_apply_calibration():
9090
"""Test that force calculation is similar to precalculated forces."""
9191
kinetics = ktk.ext.pushrimkinetics.read_smartwheel(
9292
ktk.ext.root_folder
93-
+ "/data/pushrimkinetics/pushrimkinetics_offsets_propulsion.csv"
93+
+ "/data/pushrimkinetics_offsets_propulsion.csv"
9494
)
9595

9696
test = kinetics.copy()
@@ -126,7 +126,7 @@ def test_calculate_velocity_power():
126126
"""No-regression test for calculate_velocity and calculate_power."""
127127
kinetics = ktk.ext.pushrimkinetics.read_smartwheel(
128128
ktk.ext.root_folder
129-
+ "/data/pushrimkinetics/pushrimkinetics_offsets_propulsion.csv"
129+
+ "/data/pushrimkinetics_offsets_propulsion.csv"
130130
)
131131

132132
kinetics = ktk.ext.pushrimkinetics.calculate_velocity(kinetics)

0 commit comments

Comments
 (0)