lama/common.py
def select_subset(paths, subset_ids):
    """
    Trim the files found in the wildtype input directory to thise in the optional subset list file
    """
    wt_paths_to_use = []

    for path in paths:
        vol_name = os.path.splitext(os.path.basename(path))[0]
        if vol_name in subset_ids:
            wt_paths_to_use.append(path)
    return wt_paths_to_use

    Trim the files found in the wildtype input directory to thise in the optional subset list file
    
Trim the files found in the wildtype input directory to thise in the optional subset list file
Trim the files found in the wildtype input directory to thise in the optional subset list file
def select_subset(paths, subset_ids):
    wt_paths_to_use = []
    for path in paths:
        vol_name = os.path.splitext(os.path.basename(path))[0]
        if vol_name in subset_ids:
            wt_paths_to_use.append(path)
    return wt_paths_to_use
def select_subset ( paths , subset_ids ) : wt_paths_to_use = [ ] for path in paths : vol_name = os . path . splitext ( os . path . basename ( path ) ) [ 0 ] if vol_name in subset_ids : wt_paths_to_use . append ( path ) return wt_paths_to_use
Trim the files found in the wildtype input directory to thise in the optional subset list file
Trim the files found in the wildtype input directory to thise in the optional subset list file
"""
    Trim the files found in the wildtype input directory to thise in the optional subset list file
    """
paths
subset_ids