Skip to content

Commit

Permalink
having one nan on a column diff is normal
Browse files Browse the repository at this point in the history
  • Loading branch information
Remi-Gau committed Aug 2, 2024
1 parent 6e79570 commit b2dd1a8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_edf2bids.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@ def _check_output_content(output_dir, input_file, eye=1):

# space between timestamps should always be the same.
if ending == "_physio":
assert len(df[0].diff().unique()) == 1
# length is because first rwo will give a nan
assert len(df[0].diff().unique()) == 2


@pytest.mark.skipif(not _check_edf2asc_present(), reason="edf2asc missing")
Expand Down

0 comments on commit b2dd1a8

Please sign in to comment.