Skip to content

Commit

Permalink
print length of waveform not number of sequences
Browse files Browse the repository at this point in the history
  • Loading branch information
caryan committed Jul 12, 2016
1 parent 2615131 commit 79fb19c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_Sequences.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,8 @@ def compare_sequence(self, seqA, seqB, errorHeader):
for ta in seqB]) if len(seqB) else np.empty(0)

self.assertTrue(
len(wfA) == len(wfB), "{0} size {1} != size {2}".format(
errorHeader, str(seqA.size), str(seqB.size)))
len(wfA) == len(wfB), "{} size {} != size {}".format(
errorHeader, len(wfA), len(wfB)))

#Check values
wf_check = np.allclose(wfA, wfB, rtol=0, atol=self.tolerance)
Expand Down

0 comments on commit 79fb19c

Please sign in to comment.