Skip to content

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

tristan-f-r
Copy link
Collaborator

@tristan-f-r tristan-f-r commented May 26, 2025

[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.

This is tested - this also introduces a (docker-only) network_disabled parameter for running containers with a detached network.

A similar trick can work for #137.

Closes #78.

[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.
@tristan-f-r tristan-f-r changed the title feat: omicsintegrator2 offline support fix: make omicsintegrator2 work offline May 26, 2025
@tristan-f-r tristan-f-r added the algorithm Pathway reconstruction algorithm to add to SPRAS label May 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
algorithm Pathway reconstruction algorithm to add to SPRAS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Omics Integrator 2 requires internet connection
2 participants