Replace elif list() > int() with else
[htsworkflow.git] / htsworkflow / pipelines / ipar.py
index 8719a060cd9d1ef67a2abf0cc33e7055d4924e53..4b0c57e4fa817c9f64cc57dfd681bbc3180a3bfe 100644 (file)
@@ -230,13 +230,12 @@ def ipar(pathname):
     if not (groups[0] == 'IPAR' or groups[0] == 'Intensities'):
       raise ValueError('ipar can only process IPAR directories')
 
-    bustard_pattern = os.path.join(pathname, 'Bustard*')
     # contents of the matrix file?
     matrix_pathname = os.path.join(pathname, 'Matrix', 's_matrix.txt')
     if os.path.exists(matrix_pathname):
         # this is IPAR_1.01
         i.matrix = open(matrix_pathname, 'r').read()
-    elif glob(bustard_pattern) > 0:
+    else:
         i.matrix = None
         # its still live.