.. py:currentmodule:: astropathdb.db_io._sample_utils :py:func:`.create_cells_parquet` ========================================== .. py:function:: create_cells_parquet(astrodb, samples, directory, slideids = None, base_query = 'SELECT * FROM CELLTAG', *, is_and = False) :single-line-parameter-list: Create parquet files for the cells in the samples. :param astrodb: The AstroDB instance to use for the query. :param samples: A list of sample IDs to use for the query. :param directory: The directory to save the parquet files. Each sample will be saved in a subdirectory under "slide ID / wsi". :param slideids: A list of slide IDs to use for the samples. If None, the sample name will be used as the slide ID. :param base_query: The base query to use for the cells. :param is_and: Whether to use 'and' or 'where' in the query.