Skip to content
This repository has been archived by the owner on Feb 28, 2023. It is now read-only.

Commit

Permalink
Question of style
Browse files Browse the repository at this point in the history
  • Loading branch information
dzerbino committed Nov 4, 2016
1 parent 395ace0 commit 95d6eff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/gwas_to_genes.py
Original file line number Diff line number Diff line change
Expand Up @@ -1196,7 +1196,7 @@ def ld_snps_to_genes(ld_snps, tissues):
cisreg = cisregulatory_evidence(ld_snps, tissues)

# Extract list of relevant SNPs:
selected_snps = set(gene_snp_pair[1] for gene_snp_pair in cisreg)
selected_snps = set(snp for gene, snp in cisreg)

# Fallback solution: add nearest gene for dissappointing SNPs:
if len(selected_snps) != len(ld_snps):
Expand Down

0 comments on commit 95d6eff

Please sign in to comment.