@@ -632,16 +632,16 @@ def register_image_stack(
632632
633633
634634@router .post (
635- "/sessions/{session_id}/clem/preprocessing/lif_to_stack "
635+ "/sessions/{session_id}/clem/preprocessing/process_raw_lifs "
636636) # API posts to this URL
637- def lif_to_stack (
637+ def process_raw_lifs (
638638 session_id : int , # Used by the decorator
639639 lif_file : Path ,
640640 db : Session = murfey_db ,
641641):
642642 # Get command line entry point
643643 murfey_workflows = entry_points ().select (
644- group = "murfey.workflows.clem" , name = "lif_to_stack "
644+ group = "murfey.workflows.clem" , name = "process_raw_lifs "
645645 )
646646
647647 # Use entry point if found
@@ -657,7 +657,7 @@ def lif_to_stack(
657657 # Pass arguments along to the correct workflow
658658 workflow : EntryPoint = list (murfey_workflows )[0 ]
659659 workflow .load ()(
660- # Match the arguments found in murfey.workflows.lif_to_stack
660+ # Match the arguments found in murfey.workflows.process_raw_lifs
661661 file = lif_file ,
662662 root_folder = "images" ,
663663 session_id = session_id ,
@@ -671,15 +671,15 @@ def lif_to_stack(
671671 raise RuntimeError ("The relevant Murfey workflow was not found" )
672672
673673
674- @router .post ("/sessions/{session_id}/clem/preprocessing/tiff_to_stack " )
675- def tiff_to_stack (
674+ @router .post ("/sessions/{session_id}/clem/preprocessing/process_raw_tiffs " )
675+ def process_raw_tiffs (
676676 session_id : int , # Used by the decorator
677677 tiff_info : TIFFSeriesInfo ,
678678 db : Session = murfey_db ,
679679):
680680 # Get command line entry point
681681 murfey_workflows = entry_points ().select (
682- group = "murfey.workflows.clem" , name = "tiff_to_stack "
682+ group = "murfey.workflows.clem" , name = "process_raw_tiffs "
683683 )
684684
685685 # Use entry point if found
@@ -694,7 +694,7 @@ def tiff_to_stack(
694694 # Pass arguments to correct workflow
695695 workflow : EntryPoint = list (murfey_workflows )[0 ]
696696 workflow .load ()(
697- # Match the arguments found in murfey.workflows.tiff_to_stack
697+ # Match the arguments found in murfey.workflows.process_raw_tiffs
698698 tiff_list = tiff_info .tiff_files ,
699699 root_folder = "images" ,
700700 session_id = session_id ,
0 commit comments