def spec_getscan2group(fname, scan=None, cntx=None, csig=None, cmon=None, csec=None,
                       scnt=None, norm=None, _larch=None):
    if _larch is None:
        raise Warning("larch broken?")

    s = SpecfileData(fname)
    group = _larch.symtable.create_group()
    group.__name__ = 'SPEC data file %s' % fname
    x, y, motors, infos = s.get_scan(scan=scan, cntx=cntx, csig=csig, cmon=cmon, csec=csec, scnt=scnt, norm=norm)
    setattr(group, 'x', x)
    setattr(group, 'y', y)
    setattr(group, 'motors', motors)
    setattr(group, 'infos', infos)

    return group
gnt-network list
dataset/ETHPy150Open xraypy/xraylarch/plugins/io/specfiledata.py/spec_getscan2group--crossover with--dataset/ETHPy150Open ganeti/ganeti/qa/qa_network.py/TestNetworkList