regolith/main.py
def load_rcfile(fname):
    """Loads a run control file."""
    base, ext = os.path.splitext(fname)
    if ext == '.json':
        rc = load_json_rcfile(fname)
    else:
        raise RuntimeError('could not detemine run control file type from extension.')
    return rc
Loads a run control file.
Loads a run control file.
Loads a run control file .
def load_rcfile(fname):
    base, ext = os.path.splitext(fname)
    if ext == '.json':
        rc = load_json_rcfile(fname)
    else:
        raise RuntimeError('could not detemine run control file type from extension.')
    return rc
def load_rcfile ( fname ) : base , ext = os . path . splitext ( fname ) if ext == '.json' : rc = load_json_rcfile ( fname ) else : raise RuntimeError ( 'could not detemine run control file type from extension.' ) return rc
Loads a run control file.
Loads a run control file .
"""Loads a run control file."""
fname