def rundescriptor_in_dsname(dsname):
    """Returns (str) run-descriptor flom dsname, e.g. "6-12" from dsname="exp=xcsx35617:run=6-12".
    """
    for fld in dsname.split(':'):
        if fld[:4]=='run=': return fld.split('=')[-1]
    return None