ucscsdk/ucsccoreutils.py
def load_class(class_id):
    """
    This loads the class into the current name space

    Args:
        class_id (str): class_id

    Returns:
        MangedObject or ExtenalMethod Object or None
    """

    class_id = ucscgenutils.word_u(class_id)
    if class_id and class_id in MO_CLASS_ID:
        mod_class_id = ucscgenutils.word_l(class_id)
        class_id_sub_pkg = re.match("([a-z])+", mod_class_id).group()
        mo_pkg = mometa.__name__ + ".%s.%s" % (class_id_sub_pkg, class_id)
        mo_module = __import__(mo_pkg, globals(), locals(), [class_id])
        mo_class = getattr(mo_module, class_id)
        return mo_class
    elif class_id and class_id in METHOD_CLASS_ID:
        mo_import = methodmeta.__name__ + ".%sMeta" % class_id
        method_meta = __import__(mo_import, globals(), locals(),
                                 [class_id])
        return getattr(method_meta, class_id)
    return None

    This loads the class into the current name space

    Args:
        class_id (str): class_id

    Returns:
        MangedObject or ExtenalMethod Object or None
    
This loads the class into the current name space
This loads the class into the current name space
def load_class(class_id):
    class_id = ucscgenutils.word_u(class_id)
    if class_id and class_id in MO_CLASS_ID:
        mod_class_id = ucscgenutils.word_l(class_id)
        class_id_sub_pkg = re.match("([a-z])+", mod_class_id).group()
        mo_pkg = mometa.__name__ + ".%s.%s" % (class_id_sub_pkg, class_id)
        mo_module = __import__(mo_pkg, globals(), locals(), [class_id])
        mo_class = getattr(mo_module, class_id)
        return mo_class
    elif class_id and class_id in METHOD_CLASS_ID:
        mo_import = methodmeta.__name__ + ".%sMeta" % class_id
        method_meta = __import__(mo_import, globals(), locals(),
                                 [class_id])
        return getattr(method_meta, class_id)
    return None
def load_class ( class_id ) : class_id = ucscgenutils . word_u ( class_id ) if class_id and class_id in MO_CLASS_ID : mod_class_id = ucscgenutils . word_l ( class_id ) class_id_sub_pkg = re . match ( "([a-z])+" , mod_class_id ) . group ( ) mo_pkg = mometa . __name__ + ".%s.%s" % ( class_id_sub_pkg , class_id ) mo_module = __import__ ( mo_pkg , globals ( ) , locals ( ) , [ class_id ] ) mo_class = getattr ( mo_module , class_id ) return mo_class elif class_id and class_id in METHOD_CLASS_ID : mo_import = methodmeta . __name__ + ".%sMeta" % class_id method_meta = __import__ ( mo_import , globals ( ) , locals ( ) , [ class_id ] ) return getattr ( method_meta , class_id ) return None
This loads the class into the current name space
This loads the class into the current name space
"""
    This loads the class into the current name space

    Args:
        class_id (str): class_id

    Returns:
        MangedObject or ExtenalMethod Object or None
    """
MangedObject or ExtenalMethod Object or None
MangedObject or ExtenalMethod Object or None
class_id
None