Skip to content

Commit

Permalink
fix clinvar URL
Browse files Browse the repository at this point in the history
  • Loading branch information
jethror1 committed Jul 17, 2023
1 parent 4847e3d commit 959c97c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/home/dnanexus/generate_workbook/utils/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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])
Expand Down

0 comments on commit 959c97c

Please sign in to comment.