Fix a refactoring error
[htsworkflow.git] / htsworkflow / pipelines / bustard.py
index dd831a197afa7bbf9d8628f29e9992cc4eea0112..cb32515dca06e2f22fed1e836a1c30288d33940b 100644 (file)
@@ -362,7 +362,7 @@ def bustard_from_ga1(pathname):
     if len(groups) < 3:
         msg = "Not enough information to create attributes"\
               " from directory name: %s"
-        LOGGER.error(msg % (self.pathname,))
+        LOGGER.error(msg % (pathname,))
         return None
 
     b = Bustard()