# Path: killMS/Other/ModColor.py
# HEADER = '\033[95m'
# OKBLUE = '\033[94m'
# OKGREEN = '\033[92m'
# WARNING = '\033[93m'
# FAIL = '\033[91m'
# ENDC = '\033[0m'
#     HEADER = ''
#     OKBLUE = ''
#     OKGREEN = ''
#     WARNING = ''
#     FAIL = ''
#     ENDC = ''
# def Str(strin0,col="red",Bold=True):
# def Sep(strin=None,D=1):
# def Title(strin,Big=False):
# def disable():


from . import ClassPrint
from killMS.Other import ModColor
    import MyPickle
    import MyPickle
        print(Group.title)

        option_list=Group.option_list
        for o in option_list:
            lopt=o._long_opts[0]
            oname=lopt.split("--")[-1]
            V=getattr(ValObj,oname)
            if V!="":

                P.Print(oname,V)
                # strName=%s
                # print "       "oname,V
        print()

def test2():
    Obj,ValObj=MyPickle.Load("test")
    PrintOptParse(Obj,ValObj,RejectGroup=["CohJones"])

def PrintOptParse(Obj,ValObj,RejectGroup=[]):
    P=ClassPrint.ClassPrint(HW=30)
    LGroups=Obj.option_groups
    print(ModColor.Str(" Selected Options:"))

    for Group in LGroups:
        Skip=False
        for Name in RejectGroup:
            if Name in Group.title:
                Skip=True

        if Skip: continue

# Path: killMS/Other/ModColor.py
# HEADER = '\033[95m'
# OKBLUE = '\033[94m'
# OKGREEN = '\033[92m'
# WARNING = '\033[93m'
# FAIL = '\033[91m'
# ENDC = '\033[0m'
#     HEADER = ''
#     OKBLUE = ''
#     OKGREEN = ''
#     WARNING = ''
#     FAIL = ''
#     ENDC = ''
# def Str(strin0,col="red",Bold=True):
# def Sep(strin=None,D=1):
# def Title(strin,Big=False):
# def disable():


# Path: killMS/Parset/PrintOptParse.py
from . import ClassPrint
from killMS.Other import ModColor
    import MyPickle
    import MyPickle

        print(Group.title)

        option_list=Group.option_list
        for o in option_list:
            lopt=o._long_opts[0]
            oname=lopt.split("--")[-1]
            V=getattr(ValObj,oname)
            if V!="":

                P.Print(oname,V)
                # strName=%s
                # print "       "oname,V
        print()

def test2():
    Obj,ValObj=MyPickle.Load("test")
    PrintOptParse(Obj,ValObj,RejectGroup=["CohJones"])

def PrintOptParse(Obj,ValObj,RejectGroup=[]):
    P=ClassPrint.ClassPrint(HW=30)
    LGroups=Obj.option_groups
    print(ModColor.Str(" Selected Options:"))

    for Group in LGroups:
        Skip=False
        for Name in RejectGroup:
            if Name in Group.title:
                Skip=True

        if Skip: continue

        print(ModColor.Str(Group.title,col="green"))