def load_review_status(self):
     at = self.analysis_table
     records = self.get_analysis_records()
     if records:
         for ri in records:
             get_review_status(ri)
         at.refresh_needed = True
예제 #2
0
 def load_review_status(self):
     at = self.analysis_table
     records = self.get_analysis_records()
     if records:
         for ri in records:
             get_review_status(ri)
         at.refresh_needed = True
예제 #3
0
    def __init__(self, record, *args, **kw):
        super(ReviewStatusDetailsModel, self).__init__(*args, **kw)

        if not record.review_status:
            get_review_status(record)

        self.items = [self._make_item(record, m) for m in ('intercepts', 'blanks', 'icfactors')]
        self.record_id = record.record_id
예제 #4
0
    def load_review_status(self):
        records = self.get_analysis_records()
        if records:
            for repoid, rs in groupby_repo(records):

                self.dvc.sync_repo(repoid)
                for ri in rs:
                    get_review_status(ri)
            self.refresh_needed = True
예제 #5
0
    def load_review_status(self):
        records = self.get_analysis_records()
        if records:
            for repoid, rs in groupby_repo(records):

                self.dvc.sync_repo(repoid)
                for ri in rs:
                    get_review_status(ri)
            self.refresh_needed = True
예제 #6
0
    def __init__(self, record, *args, **kw):
        super(ReviewStatusDetailsModel, self).__init__(*args, **kw)

        if not record.review_status:
            get_review_status(record)

        # self.items = [item for m in ('intercepts', 'blanks', 'icfactors')
        #                    for item in self._make_item(record, m)]
        self.items = record.review_items
        self.record_id = record.record_id