Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Genome Build - load via slug #1221

Open
davmlaw opened this issue Dec 20, 2024 · 1 comment
Open

Genome Build - load via slug #1221

davmlaw opened this issue Dec 20, 2024 · 1 comment

Comments

@davmlaw
Copy link
Contributor

davmlaw commented Dec 20, 2024

T2T-CHM2.0 has a "." in it, which messes things up if we use it in various places

So, we have to "slugify" it (ie convert to "t2t-chm20") to pass it around on the web

This means we have to be able to load from slugs - so I added a slug field to GenomeBuild, which you can load from (like name or alias)

https://variantgrid.com/snpdb/view_sample/12687

View details in Rollbar: https://app.rollbar.com/a/jimmy.andrews/fix/item/VariantGrid/5627


TypeError: grid[0] is undefined
  File "https://variantgrid.com/snpdb/view_sample/12687", line 228, in relatedAnalysesGridInitFunc
  File "https://variantgrid.com/snpdb/view_sample/12687", line 375, in setupJQGrid_1ffaee642cd64c629047a327bd6c0668/</<
  File "https://variantgrid.com/static/js/lib/jquery-3.3.1/jquery-3.3.1.min.a09e13ee94d5.js", line 2, in u
  File "https://variantgrid.com/static/js/lib/jquery-3.3.1/jquery-3.3.1.min.a09e13ee94d5.js", line 2, in fireWith
  File "https://variantgrid.com/static/js/lib/jquery-3.3.1/jquery-3.3.1.min.a09e13ee94d5.js", line 2, in k
  File "https://variantgrid.com/static/js/lib/jquery-3.3.1/jquery-3.3.1.min.a09e13ee94d5.js", line 2, in send/n/<
@davmlaw davmlaw changed the title TypeError: grid[0] is undefined T2T - TypeError: grid[0] is undefined Dec 20, 2024
@davmlaw davmlaw changed the title T2T - TypeError: grid[0] is undefined Genome Build - load via slug Feb 5, 2025
@davmlaw
Copy link
Contributor Author

davmlaw commented Feb 5, 2025

VG testing:

  • Create a tag for a T2T sample
  • View sample page
  • Used to get a grid error

Shariant testing

  • The deploy will either work or not
  • If loading genome builds fails, this will be very obvious

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant