robinandeer/chanjo-report

coverage report gives different numbers when page is refreshed

Opened this issue · 1 comments

Hi @robinandeer ! Hope everything is fine with you :)
I'm trying to solve this bug in scout (Clinical-Genomics/scout#778) . The problem is after creating a report, if the page is refreshed (or the url is copied to another browser page) the hidden list of gene ids that is passed from scout is not passed any more so the coverage is not done on the genes of the panel.

To fix the problem I was going to save the initial gene list into a session object that I'm going to use to calculate the coverage if the request.args are null or if the method=='GET'.

Do you want me to create a pull request on your repo here or you prefer me to fix everything on the clinical genomics fork and that's it?

hehe, you did good by forking the repo. Let's fix the issue there.