-----
    Brief
    -----
    Function for cleaning the temporary folder inside the package.

    -----------
    Description
    -----------
    Data processing may generate temporary files that occupy the storage of the computer.

    This function allows the user to clean the temporary files when necessary.

    source:
    https://stackoverflow.com/questions/185936/how-to-delete-the-contents-of-a-folder-in-python

def clean_temp():
    """
    -----
    Brief
    -----
    Function for cleaning the temporary folder inside the package.

    -----------
    Description
    -----------
    Data processing may generate temporary files that occupy the storage of the computer.

    This function allows the user to clean the temporary files when necessary.

    source:
    https://stackoverflow.com/questions/185936/how-to-delete-the-contents-of-a-folder-in-python
    """

    folder = 'tempOST'
    for the_file in os.listdir(folder):
        file_path = os.path.join(folder, the_file)
        try:
            if os.path.isfile(file_path):
                os.unlink(file_path)
        except Exception as exception:
            print(exception)