File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -386,7 +386,7 @@ def process_lif_file(
386386
387387 try :
388388 # Construct the URL to post the request to
389- url = f"{ str (environment .url .geturl ())} /sessions/{ environment .murfey_session } /lif_to_stack?lif_file={ quote (str (lif_file ), safe = '' )} "
389+ url = f"{ str (environment .url .geturl ())} /sessions/{ environment .murfey_session } /clem/preprocessing/ lif_to_stack?lif_file={ quote (str (lif_file ), safe = '' )} "
390390 # Validate
391391 if not url :
392392 logger .error (
@@ -442,7 +442,7 @@ def process_tiff_series(
442442
443443 try :
444444 # Construct URL for Murfey server to communicate with
445- url = f"{ str (environment .url .geturl ())} /sessions/{ environment .murfey_session } /tiff_to_stack"
445+ url = f"{ str (environment .url .geturl ())} /sessions/{ environment .murfey_session } /clem/preprocessing/ tiff_to_stack"
446446 if not url :
447447 logger .error (
448448 "URL could not be constructed from the environment and file path"
Original file line number Diff line number Diff line change @@ -631,7 +631,9 @@ def register_image_stack(
631631"""
632632
633633
634- @router .post ("/sessions/{session_id}/lif_to_stack" ) # API posts to this URL
634+ @router .post (
635+ "/sessions/{session_id}/clem/preprocessing/lif_to_stack"
636+ ) # API posts to this URL
635637def lif_to_stack (
636638 session_id : int , # Used by the decorator
637639 lif_file : Path ,
@@ -669,7 +671,7 @@ def lif_to_stack(
669671 raise RuntimeError ("The relevant Murfey workflow was not found" )
670672
671673
672- @router .post ("/sessions/{session_id}/tiff_to_stack" )
674+ @router .post ("/sessions/{session_id}/clem/preprocessing/ tiff_to_stack" )
673675def tiff_to_stack (
674676 session_id : int , # Used by the decorator
675677 tiff_info : TIFFSeriesInfo ,
You can’t perform that action at this time.
0 commit comments