humann/tools/humann_config.py
def parse_arguments(args):
    """ 
    Parse the arguments from the user
    """
    parser = argparse.ArgumentParser(
        description= "HUMAnN Configuration\n",
        formatter_class=argparse.RawTextHelpFormatter)
    parser.add_argument(
        "--print", 
        dest="print_config",
        action="store_true",
        help="print the configuration\n")
    parser.add_argument(
        "--update", 
        nargs=3,
        metavar=("<section>","<name>","<value>"),
        help="update the section : name to the value provided\n")
    
    return parser.parse_args()
 
    Parse the arguments from the user
    
Parse the arguments from the user
Parse the arguments from the user
def parse_arguments(args):
    parser = argparse.ArgumentParser(
        description= "HUMAnN Configuration\n",
        formatter_class=argparse.RawTextHelpFormatter)
    parser.add_argument(
        "--print", 
        dest="print_config",
        action="store_true",
        help="print the configuration\n")
    parser.add_argument(
        "--update", 
        nargs=3,
        metavar=("<section>","<name>","<value>"),
        help="update the section : name to the value provided\n")
    return parser.parse_args()
def parse_arguments ( args ) : parser = argparse . ArgumentParser ( description = "HUMAnN Configuration\n" , formatter_class = argparse . RawTextHelpFormatter ) parser . add_argument ( "--print" , dest = "print_config" , action = "store_true" , help = "print the configuration\n" ) parser . add_argument ( "--update" , nargs = 3 , metavar = ( "<section>" , "<name>" , "<value>" ) , help = "update the section : name to the value provided\n" ) return parser . parse_args ( )
Parse the arguments from the user
Parse the arguments from the user
""" 
    Parse the arguments from the user
    """
args