Skip to content

Commit e7bdeaf

Browse files
committed
Change IMGT URL for /allelelist directory
1 parent 56fb5af commit e7bdeaf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pyard/data_repository.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ def generate_alleles_and_xx_codes_and_who(db_connection: sqlite3.Connection, img
192192
# date: 2017-07-10
193193
# version: IPD-IMGT/HLA 3.29.0
194194
# origin: https://github.com/ANHIG/IMGTHLA/Allelelist.3290.txt
195-
# repository: https://raw.githubusercontent.com/ANHIG/IMGTHLA/Latest/Allelelist.3290.txt
195+
# repository: https://raw.githubusercontent.com/ANHIG/IMGTHLA/Latest/allelelist/Allelelist.3290.txt
196196
# author: WHO, Steven G. E. Marsh ([email protected])
197197
AlleleID,Allele
198198
HLA00001,A*01:01:01:01
@@ -228,7 +228,7 @@ def generate_alleles_and_xx_codes_and_who(db_connection: sqlite3.Connection, img
228228
if imgt_version == "Latest":
229229
allele_list_url = f'{IMGT_HLA_URL}Latest/Allelelist.txt'
230230
else:
231-
allele_list_url = f'{IMGT_HLA_URL}Latest/Allelelist.{imgt_version}.txt'
231+
allele_list_url = f'{IMGT_HLA_URL}Latest/allelelist/Allelelist.{imgt_version}.txt'
232232
allele_df = pd.read_csv(allele_list_url, header=6, usecols=['Allele'])
233233

234234
# Create a set of valid alleles

0 commit comments

Comments
 (0)