Skip to content

Commit e8447e0

Browse files
committed
Refactored CLEM Murfey workflows
1 parent 2d6d367 commit e8447e0

File tree

5 files changed

+27
-3
lines changed

5 files changed

+27
-3
lines changed

pyproject.toml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,11 @@ murfey = "murfey.client:run"
9494
"murfey.transfer" = "murfey.cli.transfer:run"
9595
[project.entry-points."murfey.auth.token_validation"]
9696
"password" = "murfey.server.api.auth:password_token_validation"
97-
[project.entry-points."murfey.workflows"]
98-
"lif_to_stack" = "murfey.workflows.lif_to_stack:zocalo_cluster_request"
99-
"tiff_to_stack" = "murfey.workflows.tiff_to_stack:zocalo_cluster_request"
97+
[project.entry-points."murfey.workflows.clem"]
98+
"lif_to_stack" = "murfey.workflows.clem.lif_to_stack:zocalo_cluster_request"
99+
"register_lif_preprocessing_result" = "murfey.workflows.clem.register_results:register_lif_preprocessing_result"
100+
"register_tiff_preprocessing_result" = "murfey.workflows.clem.register_results:register_tiff_preprocessing_result"
101+
"tiff_to_stack" = "murfey.workflows.clem.tiff_to_stack:zocalo_cluster_request"
100102

101103
[tool.setuptools]
102104
package-dir = {"" = "src"}

src/murfey/workflows/clem/__init__.py

Whitespace-only changes.
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
"""
2+
Functions to process the requests received by Murfey related to the CLEM workflow.
3+
4+
The CLEM-related file registration API endpoints can eventually be moved here, since
5+
the file registration processes all take place on the server side only.
6+
"""
7+
8+
9+
def register_lif_preprocessing_result(message: dict):
10+
"""
11+
session_id (recipe)
12+
register (wrapper)
13+
output_files (wrapper)
14+
key1
15+
key2
16+
...
17+
"""
18+
pass
19+
20+
21+
def register_tiff_preprocessing_result(message: dict):
22+
pass
File renamed without changes.

0 commit comments

Comments
 (0)