Only complane about missing genomes if we _wanted_ to align the lane.
authorDiane Trout <diane@caltech.edu>
Mon, 1 Nov 2010 21:55:42 +0000 (14:55 -0700)
committerDiane Trout <diane@caltech.edu>
Mon, 1 Nov 2010 21:55:42 +0000 (14:55 -0700)
If it was flagged for sequencing, don't complain.

htsworkflow/pipelines/retrieve_config.py

index 3ba13fc715e8dd235c6ed4376eac1032be7f22f4..dd893e186ebf8cf990f777357f471a48412b51d2 100644 (file)
@@ -137,7 +137,7 @@ def format_gerald_config(options, flowcell_info, genome_map):
         
         species_path = genome_map.get(species, None)
         logging.debug("Looked for genome '%s' got location '%s'" % (species, species_path))
-        if species_path is None:
+        if not is_sequencing and species_path is None:
             no_genome_msg = "Forcing lanes %s to sequencing as there is no genome for %s"
             logging.warning(no_genome_msg % (lane_numbers, species))
             is_sequencing = True