File tree 3 files changed +5
-5
lines changed
3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 16
16
" Reconstructor" ,
17
17
" STDM" ,
18
18
" SXPASS" ,
19
+ " SXTOKEN" ,
19
20
" SXTYPE" ,
20
21
" SXUSER" ,
21
- " SXTOKEN" ,
22
22
" Servivce" ,
23
23
" Topo" ,
24
24
" accesskey" ,
47
47
" minio" ,
48
48
" miniouser" ,
49
49
" mino" ,
50
+ " nargs" ,
50
51
" ncols" ,
51
52
" ndarray" ,
52
53
" nqueries" ,
Original file line number Diff line number Diff line change 11
11
from servicex .servicex_adaptor import ServiceXAdaptor
12
12
13
13
14
- async def run_query (endpoint : Optional [ServiceXAdaptor ], dest :str ) -> None :
14
+ async def run_query (endpoint : Optional [ServiceXAdaptor ], dest : str ) -> None :
15
15
ds = ServiceXDataset (
16
16
"mc16_13TeV:mc16_13TeV.361106.PowhegPythia8EvtGen_AZNLOCTEQ6L1_Zee.deriv.DAOD_STDM3.e3601_e5984_s3126_r10201_r10210_p3975_tid20425969_00" , # NOQA
17
17
backend_type = 'xaod' ,
18
18
max_workers = 100 ,
19
19
servicex_adaptor = endpoint )
20
20
21
- request = "(call ResultTTree (call Select (call SelectMany (call EventDataset (list 'localds:bogus')) (lambda (list e) (call (attr e 'Jets') 'AntiKt4EMTopoJets'))) (lambda (list j) (/ (call (attr j 'pt')) 1000.0))) (list 'JetPt') 'analysis' 'junk.root')"
21
+ request = "(call ResultTTree (call Select (call SelectMany (call EventDataset (list 'localds:bogus')) (lambda (list e) (call (attr e 'Jets') 'AntiKt4EMTopoJets'))) (lambda (list j) (/ (call (attr j 'pt')) 1000.0))) (list 'JetPt') 'analysis' 'junk.root')" # NOQA
22
22
if dest == 'rootfiles' :
23
- r = ds .get_data_rootfiles (request ) # NOQA
23
+ r = ds .get_data_rootfiles (request )
24
24
print (r )
25
25
elif dest == 'rootfiles-minio' :
26
26
r = ds .get_data_rootfiles_minio_async (request )
Original file line number Diff line number Diff line change 11
11
import aiohttp
12
12
import backoff
13
13
from backoff import on_exception
14
- from numpy .lib .function_base import select
15
14
16
15
from servicex .servicex_config import ServiceXConfigAdaptor
17
16
You can’t perform that action at this time.
0 commit comments