コード例 #1
0
ファイル: genomes.py プロジェクト: bharatpatel/TS
 def rebuild_index(reference):
     """Add a job to rebuild the reference index for reference to the SGE queue
     """
     logger.info("Queuing TMAP reference index rebuild of %s" % reference.short_name)
     reference.status = "Rebuilding index"
     reference.save()
     build_tmap_index.delay(reference)
コード例 #2
0
 def rebuild_index(reference):
     """Add a job to rebuild the reference index for reference to the SGE queue
     """
     logger.info("Queuing TMAP reference index rebuild of %s" % reference.short_name)
     reference.status = "Rebuilding index"
     reference.save()
     build_tmap_index.delay(reference)
コード例 #3
0
ファイル: genomes.py プロジェクト: vswilliamson/TS
 def rebuild_index(reference):
     """Add a job to rebuild the reference index for reference to the SGE queue
     """
     logger.info("Queuing TMAP reference index rebuild of %s" % reference.short_name)
     reference.status = "indexing"
     result = build_tmap_index.delay(reference.id)
     reference.celery_task_id = result.task_id
     reference.save()
コード例 #4
0
ファイル: genomes.py プロジェクト: chrstphdm/TS
 def rebuild_index(reference):
     """Add a job to rebuild the reference index for reference to the SGE queue
     """
     logger.info("Queuing TMAP reference index rebuild of %s" % reference.short_name)
     reference.status = "indexing"
     result = build_tmap_index.delay(reference.id)
     reference.celery_task_id = result.task_id
     reference.save()