def create_name(varlist,taglist):
    """
    creates a file name for a set of parameterw
    e.g.  varlist = [10,2]  tag_list = ['n','m']
    	  output = 'n10-m2'


    Parameters
    ----------
    varlist : list size n 
    taglist : str list size n

    Outputs
    ---------
    run_tag : str
    """
    
    assert len(varlist)==len(taglist)
    run_tag = taglist[0]+str(varlist[0])
    for i in range(1,len(varlist)):
        run_tag+="-"+taglist[i]+str(varlist[i])
    return run_tag