From 1951135c13a8b2c6cd83271bbfd14c70a9575711 Mon Sep 17 00:00:00 2001 From: April Shen Date: Mon, 16 Sep 2024 13:47:40 +0100 Subject: [PATCH] report final result on stdout --- eva_sub_cli/validators/docker_validator.py | 2 +- eva_sub_cli/validators/validator.py | 3 ++- requirements.txt | 1 - 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/eva_sub_cli/validators/docker_validator.py b/eva_sub_cli/validators/docker_validator.py index c9e370b..2294979 100644 --- a/eva_sub_cli/validators/docker_validator.py +++ b/eva_sub_cli/validators/docker_validator.py @@ -11,7 +11,7 @@ logger = logging_config.get_logger(__name__) container_image = 'ebivariation/eva-sub-cli' -container_tag = 'v0.0.1.dev17' +container_tag = 'v0.0.1' container_validation_dir = '/opt/vcf_validation' container_validation_output_dir = 'vcf_validation_output' diff --git a/eva_sub_cli/validators/validator.py b/eva_sub_cli/validators/validator.py index 79e23b2..b5a0729 100755 --- a/eva_sub_cli/validators/validator.py +++ b/eva_sub_cli/validators/validator.py @@ -478,5 +478,6 @@ def create_reports(self): file_path = os.path.join(self.output_dir, 'report.html') with open(file_path, "w") as f: f.write(report_html) - self.info(f'View the validation report in your browser: {file_path}') + self.info(f'Validation result: {"SUCCESS" if self.verify_ready_for_submission_to_eva() else "FAILURE"}') + self.info(f'View the full report in your browser: {file_path}') return file_path diff --git a/requirements.txt b/requirements.txt index b2a450b..1c20ce8 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,6 @@ ebi_eva_common_pyutils==0.6.10 jinja2 jsonschema -minify_html==0.11.1 openpyxl pyyaml requests