Display more informative flash messages when a panel creation from file fails
See original GitHub issueA 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:
- Created 4 years ago
- Reactions:1
- Comments:8 (1 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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…
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