localpdb/utils/os.py
def parse_simple(fn):
    """
    Parses simple txt files containing single PDB id in each line.
    @param fn: Name of the file to parse
    @returns: set with parse PDB ids
    """
    with open(fn) as f:
        entries = {line.rstrip() for line in f}
    return entries

    Parses simple txt files containing single PDB id in each line.
    @param fn: Name of the file to parse
    @returns: set with parse PDB ids
    
Parses simple txt files containing single PDB id in each line.
Parses simple txt files containing single PDB id in each line .
def parse_simple(fn):
    with open(fn) as f:
        entries = {line.rstrip() for line in f}
    return entries
def parse_simple ( fn ) : with open ( fn ) as f : entries = { line . rstrip ( ) for line in f } return entries
Parses simple txt files containing single PDB id in each line.
Parses simple txt files containing single PDB id in each line .
"""
    Parses simple txt files containing single PDB id in each line.
    @param fn: Name of the file to parse
    @returns: set with parse PDB ids
    """
fn
Name of the file to parse
Name of the file to parse
returns
set with parse PDB ids
set with parse PDB ids