A streamlined workflow and GUI for real-time species identification and pathogen characterization via nanopore sequencing data. Engineered for precision, speed, and user-friendliness, with offline functionality post-initialization.
GNU General Public License v3.0
15
stars
2
forks
source link
Enhance Accessibility of Nanometa GUI by Enabling External Network Access #68
Details:
The existing code in nanometa_gui.py only allowed the Dash application to be accessible locally, as it was binding to the default 127.0.0.1 interface. This limitation hindered the ability to access the GUI from other machines or within a Docker container setup.
The proposed change (app.run(debug=True, host="0.0.0.0", port=int(config_contents['gui_port']))) explicitly sets the host to 0.0.0.0. This adjustment ensures that the application listens on all network interfaces, thereby facilitating access from external IPs and within containerized environments.
Implications:
Enhanced Accessibility: The GUI becomes accessible from any machine in the network, not just localhost.
Container Compatibility: This change is particularly beneficial for deployment within Docker or Singularity containers, where access is often required from outside the container.
Details: The existing code in
nanometa_gui.py
only allowed the Dash application to be accessible locally, as it was binding to the default127.0.0.1
interface. This limitation hindered the ability to access the GUI from other machines or within a Docker container setup.The proposed change (
app.run(debug=True, host="0.0.0.0", port=int(config_contents['gui_port']))
) explicitly sets the host to0.0.0.0
. This adjustment ensures that the application listens on all network interfaces, thereby facilitating access from external IPs and within containerized environments.Implications: