Forgot to add split attribute to __eq__ test.
authorDiane Trout <diane@caltech.edu>
Wed, 7 Mar 2012 00:34:21 +0000 (16:34 -0800)
committerDiane Trout <diane@caltech.edu>
Wed, 7 Mar 2012 00:34:21 +0000 (16:34 -0800)
htsworkflow/pipelines/sequences.py

index 69681fa9db8b16b3bdaed8878f1f8a8d8bfc376c..772af7b432754245b7a5eddb9ab3b1de45842eb7 100644 (file)
@@ -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