Slide TIFF controller

class library.controller.slide_tif_controller.SlideCZIToTifController

Bases: object

get_and_correct_multiples(scan_run_id, slide_physical_id, debug: bool = False)

Retrieves slides with the given scan_run_id and slide_physical_id, corrects their scene_index values, and sets inactive flag for empty slides.

Args:

scan_run_id (int): The ID of the scan run. slide_physical_id (int): The physical ID of the slide.

Returns:

None

get_slide(id)
get_slide_by_physical_id(scan_run_id, slide_physical_id)
update_slide(file_name: str, update_dict: dict)
update_tif(id, width, height)

Update a TIFF object (row)

Parameters:
  • id – primary key

  • width – int of width of TIFF

  • height – int of height of TIFF