def __get_pcs_steps(in_file):
    """

    Get a list indicating the type of step for each step in a PCS data file.

    Parameters
    ----------
    in_file: str
        Path to PCS file

    Returns
    -------
    steps: list
        A list of step types. for numeric data, the step type is 'data', for
        other step types 'other'

    """
    steps = []
    with open(in_file) as dat_file:
        for line in dat_file:
            if line.startswith('Step ') and ' started at ' in line:
                steps.append('data')
            if line.lower().startswith('step type\tmapper\t') or line.lower(
                ).startswith('step type\tzero_check\t') or line.lower(
                ).startswith('step type\tfilm_zero\t') or line.lower(
                ).startswith('step type\theating\t'):
                steps[-1] = 'other'
    return steps
