genenetwork / genenetwork2

GeneNetwork (2nd generation)
http://gn2.genenetwork.org/
GNU Affero General Public License v3.0
34 stars 24 forks source link

Fix/fix value error when using query sql #757

Closed BonfaceKilz closed 1 year ago

BonfaceKilz commented 1 year ago

This PR fixes a subtle edge-case where query_sql returns a None results. This bug prevents some trait pages from showing up.

BonfaceKilz commented 1 year ago

@zsloan could you review this and test it out in your branch. I'll merge this (or you could merge this) once you can confirm it fixes the buy you pointed out :metal:

zsloan commented 1 year ago

This works for me and seems to fix the problem! I'll go ahead and merge.

BonfaceKilz commented 1 year ago

zsloan @.***> aliandika:

This works for me and seems to fix the problem! I'll go ahead and merge.

Thanks!

-- (Life is like a pencil that will surely run out, but will leave the beautiful writing of life.) (D4F09EB110177E03C28E2FE1F5BBAE1E0392253F (hkp://keys.openpgp.org))