-
Notifications
You must be signed in to change notification settings - Fork 25
fix: make omicsintegrator2 work offline #226
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
Conversation
[I mainly used this issue as an excuse to experiment with a git patch workflow over the forking method that seems to be present in SPRAS] Forces OI2 to work offline by disabling the unused networkx graph as interactive HTML feature (we already have workflows in SPRAS that enable this). The network error was coming from `output_networkx_graph_as_interactive_html` dynamically fetching jQuery to insert it as an inline script. This could have also been fixed by providing a `local` folder with all of the scripts, but putting the several hundred-kilobyte scripts on this repository did not seem worth it for an unused feature.
agitter
left a comment
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.
Now that OI2 is patched, what is the goal of network_disabled? Is it for SPRAS developers to test algorithms to see if they fail without a network?
|
Yes. |
That helps. So it is in fact a decision made by the SPRAS contributor who is wrapping the algorithm. |
Documentation build overview
Show files changed (7 files in total): 📝 5 modified | ➕ 1 added | ➖ 1 deleted
|
|
The patching documentation looks good. The OI2 test cases are failing, and I didn't dig in yet to see why. |
|
The error was because of |
|
I suggest we merge this before the larger #314. That means sticking with the existing versioning updates, readme update, etc. and manual DockerHub image push. |
|
[I don't have permission to push to Reed-CompBio's DockerHub, so someone else will have to do it / reconfigure my permissions] |
agitter
left a comment
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.
Tests pass, and I ran it locally.
Forces OI2 to work offline by disabling the unused networkx graph as interactive HTML feature (we already have workflows in SPRAS that enable this).
The network error was coming from
output_networkx_graph_as_interactive_htmldynamically fetching jQuery to insert it as an inline script. This could have also been fixed by providing alocalfolder with all of the scripts, but putting the several hundred-kilobyte scripts on this repository did not seem worth it for an unused feature.This is tested - this also introduces a (docker-only)
network_disabledparameter for running containers with a detached network.Closes #78.
This is set as
P-mediumas this PR sets the precedent for patch files for both any regular patching, and (more importantly) seeding algorithms.