lama/common.py
def check_file_paths(paths, ret_string=False):
    """
    Check for path's existence. Return True if all exist. or a list of failed paths 
    Parameters
    ----------
    paths
    ret_string: boolean
        return failed paths as a string one path on each line
    Returns
    -------

    """
    failed = []
    for path in paths:
        if not os.path.isfile(path):
            failed.append(path)
    if not failed:
        return True
    else:
        if ret_string:
            return "\n".join(failed)

    Check for path's existence. Return True if all exist. or a list of failed paths 
    Parameters
    ----------
    paths
    ret_string: boolean
        return failed paths as a string one path on each line
    Returns
    -------

    
Check for path's existence. Return True if all exist. or a list of failed paths
Parameters

paths
ret_string: boolean
return failed paths as a string one path on each line
Returns
Check for path ' s existence . Return True if all exist . or a list of failed paths Parameters paths ret_string : boolean return failed paths as a string one path on each line Returns
def check_file_paths(paths, ret_string=False):
    failed = []
    for path in paths:
        if not os.path.isfile(path):
            failed.append(path)
    if not failed:
        return True
    else:
        if ret_string:
            return "\n".join(failed)
def check_file_paths ( paths , ret_string = False ) : failed = [ ] for path in paths : if not os . path . isfile ( path ) : failed . append ( path ) if not failed : return True else : if ret_string : return "\n" . join ( failed )
Check for path's existence.
Check for path ' s existence .
"""
    Check for path's existence. Return True if all exist. or a list of failed paths 
    Parameters
    ----------
    paths
    ret_string: boolean
        return failed paths as a string one path on each line
    Returns
    -------

    """
paths
ret_string