convert has_key to X in dictionary
[htsworkflow.git] / htsworkflow / pipelines / bustard.py
index 5df79c7fb80eb3afd5cba76f536e6c194a39d533..68ecc75c1fcbc9c6c969032cdef3995c1a99a3f0 100644 (file)
@@ -309,7 +309,7 @@ class Bustard(object):
 
         # add phasing parameters
         for lane in LANE_LIST:
-            if self.phasing.has_key(lane):
+            if lane in self.phasing:
                 params.append(self.phasing[lane].get_elements())
 
         # add crosstalk matrix if it exists