diff --git a/qiime/split_libraries_fastq.py b/qiime/split_libraries_fastq.py index 7cfc535b8d..70a2c0214e 100644 --- a/qiime/split_libraries_fastq.py +++ b/qiime/split_libraries_fastq.py @@ -65,7 +65,7 @@ def _contiguous_regions(condition): """ # Find the indicies of changes in "condition" - d = np.diff(condition) + d = np.diff(condition.astype(np.int8)) idx, = d.nonzero() # We need to start things after the change in "condition". Therefore,