Skip to content

Commit

Permalink
update test_common
Browse files Browse the repository at this point in the history
  • Loading branch information
jnunyez committed Oct 27, 2023
1 parent 11e31a4 commit 6e4ba47
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/vse_sync_pp/analyzers/analyzer.py
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,8 @@ def _test_common(self, data):
return (False, "short test duration")
if len(data) - 1 < self._duration_min:
return (False, "short test samples")
if len(data.timestamp.diff().astype(float).round(0).tail(-1).unique()) > 1:
return (False, "missing test samples")
return None

def _explain_common(self, data):
Expand Down

0 comments on commit 6e4ba47

Please sign in to comment.