Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Strand Lab Cellxgene Gateway
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Strand Lab
Strand Lab Cellxgene Gateway
Commits
5349df36
Commit
5349df36
authored
4 years ago
by
Alok Saldanha
Browse files
Options
Downloads
Patches
Plain Diff
prepared for 0.2.1 release
updated docs made GATEWAY_IP optional
parent
13802b72
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
Changelog.md
+6
-0
6 additions, 0 deletions
Changelog.md
README.md
+1
-1
1 addition, 1 deletion
README.md
cellxgene_gateway/__init__.py
+1
-1
1 addition, 1 deletion
cellxgene_gateway/__init__.py
cellxgene_gateway/env.py
+2
-3
2 additions, 3 deletions
cellxgene_gateway/env.py
with
10 additions
and
5 deletions
Changelog.md
+
6
−
0
View file @
5349df36
# 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
# 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.
Incrementing minor version since the changes for 0.15 are breaking, and we may want to release bugfixes from 0.1.0 branch.
...
...
This diff is collapsed.
Click to expand it.
README.md
+
1
−
1
View file @
5349df36
...
@@ -30,7 +30,7 @@ Note: you may need to downgrade h5py with `pip install h5py==2.9.0` due to an [i
...
@@ -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
### Option 2: Install from PyPI
```
bash
```
bash
# NOT YET DONE, COMING! STAY TUNED
pip
install
cellxgene-gateway
```
```
## Running cellxgene gateway
## Running cellxgene gateway
...
...
This diff is collapsed.
Click to expand it.
cellxgene_gateway/__init__.py
+
1
−
1
View file @
5349df36
...
@@ -7,4 +7,4 @@
...
@@ -7,4 +7,4 @@
# OR CONDITIONS OF ANY KIND, either express or implied. See the License for
# OR CONDITIONS OF ANY KIND, either express or implied. See the License for
# the specific language governing permissions and limitations under the License.
# the specific language governing permissions and limitations under the License.
__version__
=
"
0.2.
0
"
__version__
=
"
0.2.
1
"
This diff is collapsed.
Click to expand it.
cellxgene_gateway/env.py
+
2
−
3
View file @
5349df36
...
@@ -22,7 +22,7 @@ external_host = os.environ.get(
...
@@ -22,7 +22,7 @@ external_host = os.environ.get(
external_protocol
=
os
.
environ
.
get
(
external_protocol
=
os
.
environ
.
get
(
"
EXTERNAL_PROTOCOL
"
,
os
.
environ
.
get
(
"
GATEWAY_PROTOCOL
"
,
"
http
"
)
"
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
"
)
extra_scripts
=
os
.
environ
.
get
(
"
GATEWAY_EXTRA_SCRIPTS
"
)
ttl
=
os
.
environ
.
get
(
"
GATEWAY_TTL
"
)
ttl
=
os
.
environ
.
get
(
"
GATEWAY_TTL
"
)
enable_upload
=
os
.
environ
.
get
(
"
GATEWAY_ENABLE_UPLOAD
"
,
""
).
lower
()
in
[
enable_upload
=
os
.
environ
.
get
(
"
GATEWAY_ENABLE_UPLOAD
"
,
""
).
lower
()
in
[
...
@@ -39,12 +39,12 @@ enable_backed_mode = os.environ.get(
...
@@ -39,12 +39,12 @@ enable_backed_mode = os.environ.get(
env_vars
=
{
env_vars
=
{
"
CELLXGENE_LOCATION
"
:
cellxgene_location
,
"
CELLXGENE_LOCATION
"
:
cellxgene_location
,
"
CELLXGENE_DATA
"
:
cellxgene_data
,
"
CELLXGENE_DATA
"
:
cellxgene_data
,
"
GATEWAY_IP
"
:
ip
,
}
}
optional_env_vars
=
{
optional_env_vars
=
{
"
EXTERNAL_HOST
"
:
external_host
,
"
EXTERNAL_HOST
"
:
external_host
,
"
EXTERNAL_PROTOCOL
"
:
external_protocol
,
"
EXTERNAL_PROTOCOL
"
:
external_protocol
,
"
GATEWAY_IP
"
:
ip
,
"
GATEWAY_PORT
"
:
gateway_port
,
"
GATEWAY_PORT
"
:
gateway_port
,
"
GATEWAY_EXTRA_SCRIPTS
"
:
extra_scripts
,
"
GATEWAY_EXTRA_SCRIPTS
"
:
extra_scripts
,
"
GATEWAY_TTL
"
:
ttl
,
"
GATEWAY_TTL
"
:
ttl
,
...
@@ -69,7 +69,6 @@ def validate():
...
@@ -69,7 +69,6 @@ def validate():
export CELLXGENE_LOCATION=~/anaconda/envs/cellxgene-dev/bin/cellxgene
export CELLXGENE_LOCATION=~/anaconda/envs/cellxgene-dev/bin/cellxgene
export CELLXGENE_DATA=../cellxgene_data
export CELLXGENE_DATA=../cellxgene_data
export GATEWAY_IP=127.0.0.1
"""
"""
)
)
else
:
else
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment