Skip to content

Commit

Permalink
Adding new/updated cellcanvas_server_0.0.12
Browse files Browse the repository at this point in the history
  • Loading branch information
kephale committed Aug 13, 2024
1 parent f685f75 commit 0922059
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 9 deletions.
Binary file modified album_catalog_index.db
Binary file not shown.
3 changes: 3 additions & 0 deletions solutions/cellcanvas/server/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ Add endpoint for handling copick configs
## [0.0.2] - 2024-08-10
Fix index for filtered solutions

## [0.0.12] - 2024-08-13
Fix misplaced server launch call

## [0.0.11] - 2024-08-13
Models endpoint, track trained models

Expand Down
8 changes: 2 additions & 6 deletions solutions/cellcanvas/server/solution.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,9 +173,6 @@ def get_user_session_ids():
}
except Exception as e:
raise HTTPException(status_code=500, detail=f"Error fetching user and session IDs: {str(e)}")

if __name__ == "__main__":
uvicorn.run(app, host="0.0.0.0", port=8000)

@app.post("/install/{catalog}/{group}/{name}/{version}")
def install_solution_endpoint(catalog: str, group: str, name: str, version: str):
Expand Down Expand Up @@ -313,13 +310,12 @@ def upgrade_endpoint():
except Exception as e:
raise HTTPException(status_code=500, detail=str(e))

if __name__ == "__main__":
uvicorn.run(app, host="0.0.0.0", port=8000)
uvicorn.run(app, host="0.0.0.0", port=8000)

setup(
group="cellcanvas",
name="server",
version="0.0.11",
version="0.0.12",
title="FastAPI CellCanvas Server",
description="Backend for CellCanvas with Copick Config Support.",
solution_creators=["Kyle Harrington"],
Expand Down
6 changes: 3 additions & 3 deletions solutions/cellcanvas/server/solution.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ args:
name: models_json_path
required: false
type: string
changelog: Models endpoint, track trained models
changelog: Fix misplaced server launch call
description: Backend for CellCanvas with Copick Config Support.
group: cellcanvas
license: MIT
Expand All @@ -22,6 +22,6 @@ tags:
- album
- server
- copick
timestamp: '2024-08-13T17:00:31.430336'
timestamp: '2024-08-13T17:10:15.066111'
title: FastAPI CellCanvas Server
version: 0.0.11
version: 0.0.12

0 comments on commit 0922059

Please sign in to comment.