def remove_bcbiopath():
    """Remove bcbio internal path from first element in PATH.

    Useful when we need to access remote programs, like Java 7 for older
    installations.
    """
    to_remove = os.environ.get("BCBIOPATH", utils.get_bcbio_bin()) + ":"
    if os.environ["PATH"].startswith(to_remove):
        os.environ["PATH"] = os.environ["PATH"][len(to_remove):]
def remove_bcbiopath ( ) : to_remove = os . environ . get ( "BCBIOPATH" , utils . get_bcbio_bin ( ) ) + ":" if os . environ [ "PATH" ] . startswith ( to_remove ) : os . environ [ "PATH" ] = os . environ [ "PATH" ] [ len ( to_remove ) : ]
Remove bcbio internal path from first element in PATH.

    Useful when we need to access remote programs, like Java 7 for older
    installations.