Skip to content

Commit

Permalink
Adding new/updated cellcanvas_experimental-server_0.0.11
Browse files Browse the repository at this point in the history
  • Loading branch information
kephale committed Oct 22, 2024
1 parent 58dcd4e commit 401db5c
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 7 deletions.
Binary file modified album_catalog_index.db
Binary file not shown.
3 changes: 3 additions & 0 deletions solutions/cellcanvas/experimental-server/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ Update copick usage
## [0.0.2] - 2024-10-21
Update solution versions and switch to torch features

## [0.0.11] - 2024-10-22
Upgrade to newer torch features

## [0.0.10] - 2024-10-22
Use immediate write mode for prediction

Expand Down
9 changes: 5 additions & 4 deletions solutions/cellcanvas/experimental-server/solution.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ def run_album_solution_thread(catalog: str, group: str, name: str, version: str,
# Install necessary album solutions
def install_album_solutions():
solutions_to_install = [
"cellcanvas:copick:generate-torch-basic-features:0.0.3",
"cellcanvas:copick:generate-torch-basic-features:0.0.4",
"cellcanvas:copick:train-model-xgboost-copick:0.0.2",
"cellcanvas:cellcanvas:segment-tomogram-xgboost:0.0.7"
]
Expand All @@ -173,7 +173,7 @@ def install_album_solutions():
@app.post("/generate-features")
async def generate_features_endpoint(solution_args: GenerateFeaturesArgs):
logger.info(f"Received generate_features request: {solution_args}")
catalog, group, name, version = "cellcanvas", "copick", "generate-torch-basic-features", "0.0.3"
catalog, group, name, version = "cellcanvas", "copick", "generate-torch-basic-features", "0.0.4"
check_solution_allowed(catalog, group, name)

args_list = [
Expand All @@ -186,7 +186,8 @@ async def generate_features_endpoint(solution_args: GenerateFeaturesArgs):
"--edges", str(solution_args.edges),
"--texture", str(solution_args.texture),
"--sigma_min", str(solution_args.sigma_min),
"--sigma_max", str(solution_args.sigma_max)
"--sigma_max", str(solution_args.sigma_max),
"--num_sigma", str(8)
]

logger.info(f"Executing generate_features with args: {args_list}")
Expand Down Expand Up @@ -292,7 +293,7 @@ async def get_status():
setup(
group="cellcanvas",
name="experimental-server",
version="0.0.10",
version="0.0.11",
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/experimental-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: Use immediate write mode for prediction
changelog: Upgrade to newer torch features
description: Backend for CellCanvas with Copick Config Support.
group: cellcanvas
license: MIT
Expand All @@ -22,6 +22,6 @@ tags:
- album
- server
- copick
timestamp: '2024-10-22T10:34:46.118155'
timestamp: '2024-10-22T11:06:34.503994'
title: FastAPI CellCanvas Server
version: 0.0.10
version: 0.0.11

0 comments on commit 401db5c

Please sign in to comment.