Exemplo n.º 1
0
def g_paramsExtraSpecify(parser, ):
    ####+END:
    """Module Specific Command Line Parameters.
    g_argsExtraSpecify is passed to G_main and is executed before argsSetup (can not be decorated)
    """
    G = icm.IcmGlobalContext()
    icmParams = icm.ICM_ParamDict()

    bleep.commonParamsSpecify(icmParams)

    clsMethod.commonParamsSpecify(icmParams)  # --cls, --method

    fp.commonParamsSpecify(icmParams)  # --fpBase

    bpo.commonParamsSpecify(icmParams)

    #palsBpo.commonParamsSpecify(icmParams)
    #palsRepo.commonParamsSpecify(icmParams)

    palsSis.commonParamsSpecify(icmParams)

    PalsRepo_LiveParams_FPs.fps_asIcmParamsAdd(icmParams, )
    PalsRepo_Profile_FPs.fps_asIcmParamsAdd(icmParams, )

    # commonParamsSpecify(icmParams)

    icm.argsparseBasedOnIcmParams(parser, icmParams)

    # So that it can be processed later as well.
    G.icmParamDictSet(icmParams)

    return
Exemplo n.º 2
0
def g_paramsExtraSpecify(parser, ):
    ####+END:
    """Module Specific Command Line Parameters.
    g_argsExtraSpecify is passed to G_main and is executed before argsSetup (can not be decorated)
    """
    G = icm.IcmGlobalContext()
    icmParams = icm.ICM_ParamDict()

    bleep.commonParamsSpecify(icmParams)

    bpo.commonParamsSpecify(icmParams)

    icm.argsparseBasedOnIcmParams(parser, icmParams)

    # So that it can be processed later as well.
    G.icmParamDictSet(icmParams)

    return