question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Display more informative flash messages when a panel creation from file fails

See original GitHub issue

A user was trying to create a new gene panel but couldn’t (displayed message was a generic “something went wrong in creating the panel”). With @moahaegglund we found out that it was because two genes in the panel file are missing in scout database:

  • HLA-DRB3(4951)
  • HLA-DRB4(4952)

It would be useful that instead of getting the generic error message the user could know what went wrong in the upload. For instance the scout log displays clearly: WARNING hgnc_id 4951 is not in the gene database! WARNING hgnc_id 4952 is not in the gene database!

Question, why are not these 2 genes in our database?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
dnilcommented, Feb 25, 2020

As the gene is not in the db being on 6, but rather on GL000255, it will not be fetched, loaded, parsed or searchable in the scout db…

0reactions
henrikstranneheimcommented, Feb 25, 2020

MIP will use alternative contigs in the mapping, but only use primary contigs downstream of this. So any variants in the alternative contigs will not make it to Scout

Read more comments on GitHub >

github_iconTop Results From Across the Web

Flash Messages aren't appearing on page - Stack Overflow
I'm creating a currency converter using python and flask, and trying to flash error messages for invalid inputs. The form automatically routes ...
Read more >
How to display a flash message in a template
Starting with the notice/error first, I have tried this: if (craft()->broadbean_jobs->createJob()) { craft()->userSession->setNotice(Craft::t('Job created.')) ...
Read more >
The messages framework | Django documentation
Quite commonly in web applications, you need to display a one-time notification message (also known as “flash message”) to the user after processing...
Read more >
Add Messages To Your Rails App Using Flash - Medium
This partial will allow us to display flash messages across our application without repetitive code. Create a file called _messages. html.
Read more >
How to Use Flash Messages in Rails - RubyGuides
A flash message is a way to communicate information with the users of your Rails application so they can know what happens as...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found