From: Diane Trout Date: Wed, 7 Mar 2012 00:34:21 +0000 (-0800) Subject: Forgot to add split attribute to __eq__ test. X-Git-Tag: v0.5.5~52 X-Git-Url: http://woldlab.caltech.edu/gitweb/?p=htsworkflow.git;a=commitdiff_plain;h=437149923570d52f6eedad9be7ba94c6095fbb24 Forgot to add split attribute to __eq__ test. --- diff --git a/htsworkflow/pipelines/sequences.py b/htsworkflow/pipelines/sequences.py index 69681fa..772af7b 100644 --- a/htsworkflow/pipelines/sequences.py +++ b/htsworkflow/pipelines/sequences.py @@ -83,7 +83,15 @@ class SequenceFile(object): """ Equality is defined if everything but the path matches """ - attributes = ['filetype','flowcell', 'lane', 'read', 'pf', 'cycle', 'project', 'index'] + attributes = ['filetype', + 'flowcell', + 'lane', + 'read', + 'pf', + 'cycle', + 'project', + 'index', + 'split'] for a in attributes: if getattr(self, a) != getattr(other, a): return False