def getmeths(method_type):
    """
    returns MagIC  method codes available for a given type
    """
    meths = []
    if method_type == 'GM':
        meths.append('GM-PMAG-APWP')
        meths.append('GM-ARAR')
        meths.append('GM-ARAR-AP')
        meths.append('GM-ARAR-II')
        meths.append('GM-ARAR-NI')
        meths.append('GM-ARAR-TF')
        meths.append('GM-CC-ARCH')
        meths.append('GM-CC-ARCHMAG')
        meths.append('GM-C14')
        meths.append('GM-FOSSIL')
        meths.append('GM-FT')
        meths.append('GM-INT-L')
        meths.append('GM-INT-S')
        meths.append('GM-ISO')
        meths.append('GM-KAR')
        meths.append('GM-PMAG-ANOM')
        meths.append('GM-PMAG-POL')
        meths.append('GM-PBPB')
        meths.append('GM-RATH')
        meths.append('GM-RBSR')
        meths.append('GM-RBSR-I')
        meths.append('GM-RBSR-MA')
        meths.append('GM-SMND')
        meths.append('GM-SMND-I')
        meths.append('GM-SMND-MA')
        meths.append('GM-CC-STRAT')
        meths.append('GM-LUM-TH')
        meths.append('GM-UPA')
        meths.append('GM-UPB')
        meths.append('GM-UTH')
        meths.append('GM-UTHHE')
    else:
        pass
    return meths
def getmeths ( method_type ) : meths = [ ] if method_type == 'GM' : meths . append ( 'GM-PMAG-APWP' ) meths . append ( 'GM-ARAR' ) meths . append ( 'GM-ARAR-AP' ) meths . append ( 'GM-ARAR-II' ) meths . append ( 'GM-ARAR-NI' ) meths . append ( 'GM-ARAR-TF' ) meths . append ( 'GM-CC-ARCH' ) meths . append ( 'GM-CC-ARCHMAG' ) meths . append ( 'GM-C14' ) meths . append ( 'GM-FOSSIL' ) meths . append ( 'GM-FT' ) meths . append ( 'GM-INT-L' ) meths . append ( 'GM-INT-S' ) meths . append ( 'GM-ISO' ) meths . append ( 'GM-KAR' ) meths . append ( 'GM-PMAG-ANOM' ) meths . append ( 'GM-PMAG-POL' ) meths . append ( 'GM-PBPB' ) meths . append ( 'GM-RATH' ) meths . append ( 'GM-RBSR' ) meths . append ( 'GM-RBSR-I' ) meths . append ( 'GM-RBSR-MA' ) meths . append ( 'GM-SMND' ) meths . append ( 'GM-SMND-I' ) meths . append ( 'GM-SMND-MA' ) meths . append ( 'GM-CC-STRAT' ) meths . append ( 'GM-LUM-TH' ) meths . append ( 'GM-UPA' ) meths . append ( 'GM-UPB' ) meths . append ( 'GM-UTH' ) meths . append ( 'GM-UTHHE' ) else : pass return meths
returns MagIC  method codes available for a given type