Fail gracefully on IGV attempts to open invalid SODAR URLs #2075
Labels
app: samplesheets
Issue in the samplesheets app
environment
Issues of dependencies, CI, deployment etc.
feature
Requested feature or enhancement
Milestone
Something I noticed when testing IGV integration for SODAR v1.0.0-WIP in staging.
After opening a session file, IGV performs another request to SODAR using the session serving URL, followed by the genome ID. This of course fails as this is not a valid URL. Example in IGV log:
I'm not sure what is happening here. I did get an error message when starting up IGV about not being able to load the genome, so I suppose these are somehow related?
IGV experts, feel free to chime in. What should be done about this on the SODAR side?
Does this also happen in SODAR v0.15.1 if certain conditions are met? If so, which conditions?
At the very least, we should probably return with a more graceful error than a dump of the 500 error HTML. Since these requests always hit the same study app views, that would be doable.
I tested this with IGV v2.19.1, with
b37_1kg
as the genome.The text was updated successfully, but these errors were encountered: