mirror of
https://github.com/Novartis/cellxgene-gateway.git
synced 2026-09-29 19:58:11 +08:00
prepared for 0.2.1 release
updated docs made GATEWAY_IP optional
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
# 0.2.1
|
||||
|
||||
* Minor fixes to enable cellxgene 0.16.0
|
||||
* Added CELLXGENE_ARGS to enable passing additional arguments to cellxgene
|
||||
* added metadata/ip_address endpoint
|
||||
|
||||
# 0.2.0
|
||||
|
||||
Incrementing minor version since the changes for 0.15 are breaking, and we may want to release bugfixes from 0.1.0 branch.
|
||||
|
||||
@@ -30,7 +30,7 @@ Note: you may need to downgrade h5py with `pip install h5py==2.9.0` due to an [i
|
||||
### Option 2: Install from PyPI
|
||||
|
||||
```bash
|
||||
# NOT YET DONE, COMING! STAY TUNED
|
||||
pip install cellxgene-gateway
|
||||
```
|
||||
|
||||
## Running cellxgene gateway
|
||||
|
||||
@@ -7,4 +7,4 @@
|
||||
# OR CONDITIONS OF ANY KIND, either express or implied. See the License for
|
||||
# the specific language governing permissions and limitations under the License.
|
||||
|
||||
__version__ = "0.2.0"
|
||||
__version__ = "0.2.1"
|
||||
|
||||
@@ -22,7 +22,7 @@ external_host = os.environ.get(
|
||||
external_protocol = os.environ.get(
|
||||
"EXTERNAL_PROTOCOL", os.environ.get("GATEWAY_PROTOCOL", "http")
|
||||
)
|
||||
ip = os.environ.get("GATEWAY_IP")
|
||||
ip = os.environ.get("GATEWAY_IP", "127.0.0.1")
|
||||
extra_scripts = os.environ.get("GATEWAY_EXTRA_SCRIPTS")
|
||||
ttl = os.environ.get("GATEWAY_TTL")
|
||||
enable_upload = os.environ.get("GATEWAY_ENABLE_UPLOAD", "").lower() in [
|
||||
@@ -39,12 +39,12 @@ enable_backed_mode = os.environ.get(
|
||||
env_vars = {
|
||||
"CELLXGENE_LOCATION": cellxgene_location,
|
||||
"CELLXGENE_DATA": cellxgene_data,
|
||||
"GATEWAY_IP": ip,
|
||||
}
|
||||
|
||||
optional_env_vars = {
|
||||
"EXTERNAL_HOST": external_host,
|
||||
"EXTERNAL_PROTOCOL": external_protocol,
|
||||
"GATEWAY_IP": ip,
|
||||
"GATEWAY_PORT": gateway_port,
|
||||
"GATEWAY_EXTRA_SCRIPTS": extra_scripts,
|
||||
"GATEWAY_TTL": ttl,
|
||||
@@ -69,7 +69,6 @@ def validate():
|
||||
|
||||
export CELLXGENE_LOCATION=~/anaconda/envs/cellxgene-dev/bin/cellxgene
|
||||
export CELLXGENE_DATA=../cellxgene_data
|
||||
export GATEWAY_IP=127.0.0.1
|
||||
"""
|
||||
)
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user