-
Notifications
You must be signed in to change notification settings - Fork 47
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
Attempt at fixing file system not mounted IGV crash #3129
Conversation
Codecov Report
@@ Coverage Diff @@
## main #3129 +/- ##
=======================================
Coverage 83.84% 83.84%
=======================================
Files 287 287
Lines 16486 16486
=======================================
Hits 13823 13823
Misses 2663 2663
Continue to review full report at Codecov.
|
Good start! I took the liberty of adding a try-except, to remove a crash on missing non-ranged files as well. |
I'll think about something. Shouldn't be that hard, no? |
To do it properly, this needs a lot fo refactoring, so perhaps let's have it in another PR? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right!
Tentative fix #3128, only the crash part.
I couldn't reproduce locally, so any idea is welcome! My idea is to pass an empty path to the function that servers the file, so it will return "file not found" instead. Basically it will except here:
scout/scout/server/blueprints/alignviewers/partial.py
Line 54 in 679bcd1
Testing on cg-vm1 server (Clinical Genomics Stockholm)
Prepare for testing
ssh your.email@cg-vm1.scilifelab.se
sudo -iu hiseq.clinical
ssh localhost
podman ps
systemctl --user stop scout.target
systemctl --user start scout@<this_branch>
systemctl --user status scout.target
How to test:
Expected outcome:
The functionality should be working
Take a screenshot and attach or copy/paste the output.
Review: