mirror of
https://github.com/Novartis/cellxgene-gateway.git
synced 2026-09-16 05:17:55 +08:00
Compare commits
9 Commits
annotation
...
v0.1.0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3c53a8a4e6 | ||
|
|
3ea5c29265 | ||
|
|
64d1799133 | ||
|
|
de8dfb0a39 | ||
|
|
50d71e5bda | ||
|
|
11bbc1aba8 | ||
|
|
186ccde277 | ||
|
|
2b65c095a6 | ||
|
|
bae42edd3f |
@@ -1,3 +1,12 @@
|
||||
# Copyright 2019 Novartis Institutes for BioMedical Research Inc. Licensed
|
||||
# under the Apache License, Version 2.0 (the "License"); you may not use
|
||||
# this file except in compliance with the License. You may obtain a copy
|
||||
# of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless
|
||||
# required by applicable law or agreed to in writing, software distributed
|
||||
# under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES
|
||||
# OR CONDITIONS OF ANY KIND, either express or implied. See the License for
|
||||
# the specific language governing permissions and limitations under the License.
|
||||
|
||||
import os
|
||||
from cellxgene_gateway import env
|
||||
from cellxgene_gateway.dir_util import make_h5ad, make_annotations, annotations_suffix
|
||||
|
||||
@@ -1,3 +1,12 @@
|
||||
# Copyright 2019 Novartis Institutes for BioMedical Research Inc. Licensed
|
||||
# under the Apache License, Version 2.0 (the "License"); you may not use
|
||||
# this file except in compliance with the License. You may obtain a copy
|
||||
# of the License at http://www.apache.org/licenses/LICENSE-2.0. Unless
|
||||
# required by applicable law or agreed to in writing, software distributed
|
||||
# under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES
|
||||
# OR CONDITIONS OF ANY KIND, either express or implied. See the License for
|
||||
# the specific language governing permissions and limitations under the License.
|
||||
|
||||
from flask import request
|
||||
|
||||
def querystring():
|
||||
|
||||
@@ -23,7 +23,7 @@ from flask import (
|
||||
url_for,
|
||||
)
|
||||
from flask_api import status
|
||||
from werkzeug import secure_filename
|
||||
from werkzeug.utils import secure_filename
|
||||
|
||||
from cellxgene_gateway import env
|
||||
from cellxgene_gateway.backend_cache import BackendCache
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
|
||||
class ProcessException(Exception):
|
||||
def __init__(self, message, stdout, stderr, http_status, dataset):
|
||||
def __init__(self, message, stdout, stderr, http_status, key):
|
||||
Exception.__init__(self)
|
||||
self.message = message
|
||||
self.stdout = stdout
|
||||
|
||||
@@ -8,4 +8,4 @@ dependencies:
|
||||
- psutil
|
||||
- pip:
|
||||
- flask-api
|
||||
- cellxgene
|
||||
- cellxgene==0.14.1
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
cellxgene
|
||||
cellxgene==0.14.1
|
||||
flask
|
||||
flask_api
|
||||
psutil
|
||||
|
||||
10
setup.py
10
setup.py
@@ -1,7 +1,6 @@
|
||||
import os
|
||||
from setuptools import setup
|
||||
|
||||
|
||||
def parse_requirements():
|
||||
reqs = []
|
||||
with open("requirements.txt", "r") as f:
|
||||
@@ -9,6 +8,8 @@ def parse_requirements():
|
||||
reqs.append(l.strip("\n"))
|
||||
return reqs
|
||||
|
||||
with open("README.md", "r") as fh:
|
||||
long_description = fh.read()
|
||||
|
||||
install_reqs = parse_requirements()
|
||||
|
||||
@@ -16,11 +17,13 @@ setup(
|
||||
# mandatory
|
||||
name="cellxgene-gateway",
|
||||
# mandatory
|
||||
version="0.1",
|
||||
version="0.1.0",
|
||||
# mandatory
|
||||
author="Niket Patel, Yohann Potier, Alok Saldanha",
|
||||
author_email="alok.saldanha@novartis.com",
|
||||
description=("Cellxgene Gateway"),
|
||||
long_description=long_description,
|
||||
long_description_content_type="text/markdown",
|
||||
license="MIT",
|
||||
keywords="visualization, genomics",
|
||||
url="http://github.com/Novartis/cellxgene-gateway",
|
||||
@@ -31,10 +34,11 @@ setup(
|
||||
"static/nibr.ico",
|
||||
"templates/*.html"
|
||||
]},
|
||||
data_files=[('', ['Readme.md', 'LICENSE.txt'])],
|
||||
data_files=[('', ['README.md', 'LICENSE'])],
|
||||
install_requires=install_reqs,
|
||||
entry_points={
|
||||
"console_scripts": ["cellxgene-gateway=cellxgene_gateway.gateway:main"]
|
||||
},
|
||||
classifiers=["Topic :: Scientific/Engineering :: Visualization"],
|
||||
python_requires='>=3.6',
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user