Skip to content

Commit

Permalink
Merge branch 'develop' of https://github.com/CanDIG/candigv2-query in…
Browse files Browse the repository at this point in the history
…to develop
  • Loading branch information
daisieh committed May 13, 2024
2 parents 991943d + 8e3aed3 commit 582c583
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion query_server/query_operations.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def query_htsget(headers, gene, assembly, chrom):
if gene != "":
return query_htsget_gene(headers, gene)
else:
search = re.search('(chr)*([XY0-9]{2}):(\d+)-(\d+)', chrom)
search = re.search(r'(chr)*([XY0-9]{1,2}):(\d+)-(\d+)', chrom)
return query_htsget_pos(headers, assembly, search.group(2), int(search.group(3)), int(search.group(4)))

# The return value does not like None being used as a key, so this helper function recursively
Expand Down

0 comments on commit 582c583

Please sign in to comment.