diff options
author | Frederick Muriuki Muriithi | 2021-09-20 08:43:38 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2021-09-20 08:43:38 +0300 |
commit | 8442204492a28153e995f3147e06c9758cd3bd28 (patch) | |
tree | e53d227c7059d2d5f9c3b4869eb3809bb7250739 /guix.scm | |
parent | f5415f41d7f682771555e73f36ac4ee7ef51a1d3 (diff) | |
download | genenetwork3-8442204492a28153e995f3147e06c9758cd3bd28.tar.gz |
Enable Cross-Origin Resource Sharing
Issue:
https://github.com/genenetwork/gn-gemtext-threads/blob/main/topics/gn1-migration-to-gn2/clustering.gmi
* gn3/api/heatmaps.py: Fix bugs in data parsing
* gn3/app.py: enable CORS
* gn3/settings.py: add flask-cors configurations
* guix.scm: Add flask-cors dependency
For easier testing of the heatmaps generation feature, this commit activates
the cross-origin resource sharing for all "localhost" origins.
Diffstat (limited to 'guix.scm')
-rw-r--r-- | guix.scm | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -106,7 +106,8 @@ ("r-stringi" ,r-stringi) ("python-plotly" ,python-plotly) ("python-pandas" ,python-pandas) - ("rust-qtlreaper" ,rust-qtlreaper))) + ("rust-qtlreaper" ,rust-qtlreaper) + ("python-flask-cors" ,python-flask-cors))) (build-system python-build-system) (home-page "https://github.com/genenetwork/genenetwork3") (synopsis "GeneNetwork3 API for data science and machine learning.") |