def generate_cross_file_report(self, cross_files, warning=False, ignore_error=False):
    cross_types = []
    for cross_file in cross_files:
        cross_types.append(cross_file[1])
        self.generate_file_report(cross_file[0], cross_file[1], warning=warning, ignore_error=ignore_error)
    self.setup_validation()
    if ignore_error:
        try:
            self.validator.validate_job(self.val_job.job_id)
        except Exception:
            pass
    else:
        self.validator.validate_job(self.val_job.job_id)
    report_path = self.get_report_path(cross_types[0], cross_type=cross_types[1], warning=warning)
    report_content = self.get_report_content(report_path, cross_file=True)
    return report_content
def generate_cross_file_report(self, cross_files, warning=False, ignore_error=False):
    cross_types = []
    for cross_file in cross_files:
        cross_types.append(cross_file[1])
        self.generate_file_report(cross_file[0], cross_file[1], warning=warning, ignore_error=ignore_error)
    self.setup_validation()
    if ignore_error:
        try:
            self.validator.validate_job(self.val_job.job_id)
        except Exception:
            pass
    else:
        self.validator.validate_job(self.val_job.job_id)
    report_path = self.get_report_path(cross_types[0], cross_type=cross_types[1], warning=warning)
    report_content = self.get_report_content(report_path, cross_file=True)
    return report_content