Replace some prints with logging.info messages and
[htsworkflow.git] / scripts / retrieve_config
index cdd2c5b9c46df2c461681139c8974da1b6937778..c765da941050076c4c8787c13d0499b80452a74a 100644 (file)
@@ -1,9 +1,10 @@
 #!/usr/bin/env python
+import logging
 import sys
-from htsworkflow.pipeline.retrieve_config import *
-from htsworkflow.pipeline import retrieve_config
-from htsworkflow.pipeline.genome_mapper import getAvailableGenomes
-from htsworkflow.pipeline.genome_mapper import constructMapperDict
+from htsworkflow.pipelines.retrieve_config import *
+from htsworkflow.pipelines import retrieve_config
+from htsworkflow.pipelines.genome_mapper import getAvailableGenomes
+from htsworkflow.pipelines.genome_mapper import constructMapperDict
 
 #Turn on built-in command-line parsing.
 retrieve_config.DISABLE_CMDLINE = False
@@ -49,4 +50,5 @@ def main(args=None):
   return 0
   
 if __name__ == "__main__":
+  logging.basicConfig(level=logging.INFO)
   sys.exit(main(sys.argv[1:]))