src/analyzeScenario.py
def takeInCover(filename: str) -> list:
    """
    Take in cover information from scenario file

    Parameters
    ----------
        filename: str
            full path of scenario file
    Returns
    ----------
        lst_cover: list
            0: title, 1: author, 2:ECU type 3: ECU code,
            4: summary(1), 5: summary(2), 6: summary(3), 7: summary(4)
    """
    snHeader = 3
    snIndexCol = 0
    snSname = 'cover'
    df_cover = pd.read_excel(filename,header=snHeader,index_col=snIndexCol,sheet_name=snSname)
    lst_cover = sum(df_cover.fillna('').values.tolist(), [])
    return lst_cover

    Take in cover information from scenario file

    Parameters
    ----------
        filename: str
            full path of scenario file
    Returns
    ----------
        lst_cover: list
            0: title, 1: author, 2:ECU type 3: ECU code,
            4: summary(1), 5: summary(2), 6: summary(3), 7: summary(4)
    
Take in cover information from scenario file
Parameters

str
full path of scenario file
Returns


Take in cover information from scenario file Parameters str full path of scenario file Returns
def takeInCover(filename: str) -> list:
    snHeader = 3
    snIndexCol = 0
    snSname = 'cover'
    df_cover = pd.read_excel(filename,header=snHeader,index_col=snIndexCol,sheet_name=snSname)
    lst_cover = sum(df_cover.fillna('').values.tolist(), [])
    return lst_cover
def takeInCover ( filename : str ) -> list : snHeader = 3 snIndexCol = 0 snSname = 'cover' df_cover = pd . read_excel ( filename , header = snHeader , index_col = snIndexCol , sheet_name = snSname ) lst_cover = sum ( df_cover . fillna ( '' ) . values . tolist ( ) , [ ] ) return lst_cover
Take in cover information from scenario file
Parameters
Take in cover information from scenario file Parameters
"""
    Take in cover information from scenario file

    Parameters
    ----------
        filename: str
            full path of scenario file
    Returns
    ----------
        lst_cover: list
            0: title, 1: author, 2:ECU type 3: ECU code,
            4: summary(1), 5: summary(2), 6: summary(3), 7: summary(4)
    """
filename
str