diff --git a/MANIFEST.in b/MANIFEST.in index eabb0a2f..ec6f0e6c 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,2 +1,2 @@ recursive-include server/app/web/templates * -recursive-include server/app/web/static * \ No newline at end of file +recursive-include server/app/web/static * diff --git a/bin/build-client b/bin/build-client index 8d6c07a1..8e51b8db 100755 --- a/bin/build-client +++ b/bin/build-client @@ -7,4 +7,4 @@ cp client/build/index.html server/app/web/templates/ cp -r client/build/static server/app/web/ cp client/build/favicon.png server/app/web/static/img -cp client/build/service-worker.js server/app/web/static/js/ \ No newline at end of file +cp client/build/service-worker.js server/app/web/static/js/ diff --git a/server/app/__init__.py b/server/app/__init__.py index 07220711..e69de29b 100644 --- a/server/app/__init__.py +++ b/server/app/__init__.py @@ -1 +0,0 @@ -from . import app \ No newline at end of file diff --git a/server/app/app.py b/server/app/app.py index cb3ee110..3bc4f981 100644 --- a/server/app/app.py +++ b/server/app/app.py @@ -10,7 +10,6 @@ from .rest_api.rest import get_api_resources REACTIVE_LIMIT = 1_000_000 - app = Flask(__name__) Compress(app) CORS(app) @@ -40,8 +39,6 @@ if app.config["ENGINE"] == "scanpy": from .scanpy_engine.scanpy_engine import ScanpyEngine data = ScanpyEngine(app.config["DATA"], schema="data_schema.json") - - # A list of swagger document objects docs = [] resources = get_api_resources() @@ -53,10 +50,8 @@ app.register_blueprint( get_swagger_blueprint(docs, "/api/swagger", produces=["application/json"], title="cellxgene rest api", description="An API connecting ExpressionMatrix2 clustering algorithm to cellxgene")) - app.add_url_rule("/", endpoint="index") def main(): app.run(host="0.0.0.0", debug=True, port=5005) -