1001genomes / AraGWAS

GWAS catalogue for Arabidopsis thaliana
https://aragwas.1001genomes.org
MIT License
11 stars 5 forks source link

Mouse over significant/non-significant SNPs causes an exception #110

Closed timeu closed 7 years ago

timeu commented 7 years ago

This line will cause an exception because findAssociationsByType for "signifcant" and "non significant" in this line will return an empty array.

Two fixes are needed:

  1. Check if the array is empty to avoid exception
  2. Properly get the highlighted associations for "significant" and "non significant"