Skip to content

Commit

Permalink
Merge pull request #343 from JuliaKukulies/bug_fix
Browse files Browse the repository at this point in the history
fixed duplicate index issue in test_trackpy_predict
  • Loading branch information
JuliaKukulies authored Sep 29, 2023
2 parents 57385cd + 2485cef commit 09b5a73
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tobac/tests/test_tracking.py
Original file line number Diff line number Diff line change
Expand Up @@ -449,8 +449,10 @@ def test_trackpy_predict():
cell_2_expected = copy.deepcopy(cell_2)
cell_2_expected["cell"] = np.int32(2)

features = pd.concat([cell_1, cell_2])
expected_output = pd.concat([cell_1_expected, cell_2_expected])
features = pd.concat([cell_1, cell_2], ignore_index=True, verify_integrity=True)
expected_output = pd.concat(
[cell_1_expected, cell_2_expected], ignore_index=True, verify_integrity=True
)

output = tobac.linking_trackpy(
features, None, 1, 1, d_max=100, method_linking="predict"
Expand Down

0 comments on commit 09b5a73

Please sign in to comment.