Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(7)  |  Call(7)  |  Derive(0)  |  Import(0)

src/b/1/B1python-0.8.7/src/B1macros.py   B1python(Download)
    if type(fsnrange)!=types.ListType:
        fsnrange=[fsnrange];
    params=B1io.readlogfile(fsnrange,dirs=dirs);
    if len(params)<1:
        return
    if not hasattr(fsns,'__getitem__'): # if fsns cannot be indexed
        fsns=[fsns] # make a list of one
    params=B1io.readlogfile(fsns,dirs=dirs)
    if samples is not None:
        if type(samples)==type(''): # if it is a string
    """
    # read logfiles produced during summarization
    paramsum=B1io.readlogfile(fsns,norm=logfiletype,dirs=dirs)
    if not ignorewaxs:
        paramsumw=B1io.readlogfile(fsns,norm=waxslogfiletype,dirs=dirs)
        sample=[sample]
    print "Reading logfiles of type %s"%logfiletype
    allparams=B1io.readlogfile(fsns,dirs=dirs,norm=logfiletype,quiet=True)
    print "%d logfiles have been loaded." % len(allparams)
    if len(sample)>0:

src/b/1/B1python-0.8.7/src/guitools.py   B1python(Download)
    else:
        raise ValueError("invalid mode argument. Possible values: 'Gabriel' or 'Pilatus'")
    params1=B1io.readlogfile(fsns,dirs=dirs)
    header=[]
    for h in header1: