示例#1
0
 def handle(self, *args, **options):
     for project in Project.objects.all():
         if not project.is_loaded():
             xbrowse_controls.reload_project(project.project_id)
     #
     # # reload any cohorts that were recently created
     # for cohort in Cohort.objects.all():
     #     if cohort.get_data_status() == 'no_variants' and not cohort.project.needs_reload():
     #         xbrowse_controls.reload_cohort_variants(cohort.project.project_id, cohort.cohort_id)
示例#2
0
文件: tasks.py 项目: dmyung/xbrowse
def reload_project(project_id, force_annotations):
    xbrowse_controls.reload_project(project_id,
                                    force_annotations=force_annotations)
示例#3
0
文件: tasks.py 项目: batsal/xbrowse
def reload_project(project_id, force_annotations):
    xbrowse_controls.reload_project(project_id, force_annotations=force_annotations)