Skip to content

Commit a01a786

Browse files
committed
Updated TIFF Pydantic model
1 parent c4bdfc7 commit a01a786

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/murfey/server/api/clem.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
CLEMTIFFFile,
2323
)
2424
from murfey.util.db import Session as MurfeySession
25-
from murfey.util.models import TiffSeriesInfo
25+
from murfey.util.models import TIFFSeriesInfo
2626

2727
# Use backport from importlib_metadata for Python <3.10
2828
if sys.version_info.major == 3 and sys.version_info.minor < 10:
@@ -639,7 +639,7 @@ def lif_to_stack(
639639
):
640640
# Get command line entry point
641641
murfey_workflows = entry_points().select(
642-
group="murfey.workflows", name="lif_to_stack"
642+
group="murfey.workflows.clem", name="lif_to_stack"
643643
)
644644

645645
# Use entry point if found
@@ -672,11 +672,11 @@ def lif_to_stack(
672672
@router.post("/sessions/{session_id}/tiff_to_stack")
673673
def tiff_to_stack(
674674
session_id: int, # Used by the decorator
675-
tiff_info: TiffSeriesInfo,
675+
tiff_info: TIFFSeriesInfo,
676676
):
677677
# Get command line entry point
678678
murfey_workflows = entry_points().select(
679-
group="murfey.workflows", name="tiff_to_stack"
679+
group="murfey.workflows.clem", name="tiff_to_stack"
680680
)
681681

682682
# Use entry point if found

src/murfey/util/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ class FractionationParameters(BaseModel):
154154
"""
155155

156156

157-
class TiffSeriesInfo(BaseModel):
157+
class TIFFSeriesInfo(BaseModel):
158158
series_name: str
159159
tiff_files: List[Path]
160160
series_metadata: Path

0 commit comments

Comments
 (0)