def irun_first(runs):
    """Returns the 1st (int) run number from list or string or int
    """
    return runs[0] if isinstance(runs, list) else\
           runs if isinstance(runs, int) else\
           int(runs.split(',',1)[0].split('-',1)[0])