Skip to content

Commit

Permalink
Another case where we need to ensure an int argument.
Browse files Browse the repository at this point in the history
  • Loading branch information
blakejohnson committed Feb 27, 2017
1 parent b4b9b54 commit b4d0fc2
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 @@ -165,9 +165,9 @@ def compare_file_data(self, testFile, truthFile):

def compare_sequence(self, seqA, seqB, errorHeader):
#unroll the time amplitude pairs for comparison
wfA = np.concatenate([ta[1] * np.ones(ta[0])
wfA = np.concatenate([ta[1] * np.ones(int(ta[0]))
for ta in seqA]) if len(seqA) else np.empty(0)
wfB = np.concatenate([ta[1] * np.ones(ta[0])
wfB = np.concatenate([ta[1] * np.ones(int(ta[0]))
for ta in seqB]) if len(seqB) else np.empty(0)

self.assertTrue(
Expand Down

0 comments on commit b4d0fc2

Please sign in to comment.