From 959c97c27f15eaaba9e55816e25cc50cb24dff9f Mon Sep 17 00:00:00 2001 From: Jethro Rainford Date: Mon, 17 Jul 2023 12:14:02 +0100 Subject: [PATCH] fix clinvar URL --- resources/home/dnanexus/generate_workbook/utils/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/home/dnanexus/generate_workbook/utils/utils.py b/resources/home/dnanexus/generate_workbook/utils/utils.py index bbb02c9c..94cc82e9 100644 --- a/resources/home/dnanexus/generate_workbook/utils/utils.py +++ b/resources/home/dnanexus/generate_workbook/utils/utils.py @@ -187,7 +187,7 @@ def build(self, column, value, build) -> str: elif 'mastermind' in column.lower() or 'mmid3' in column.lower(): url = self.mastermind(value, build, column) value[column] = url.split('=')[1] - elif 'clinvar' in column.lower(): + elif column.lower().endswith('clinvar'): url = self.clinvar(value[column]) elif 'hgmd' in column.lower(): url = self.hgmd(value[column])