Skip to content

Commit 915d6fe

Browse files
committed
Fix up warnings and flake8 errors
#132
1 parent 87e85f2 commit 915d6fe

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.vscode/settings.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
"Reconstructor",
1717
"STDM",
1818
"SXPASS",
19+
"SXTOKEN",
1920
"SXTYPE",
2021
"SXUSER",
21-
"SXTOKEN",
2222
"Servivce",
2323
"Topo",
2424
"accesskey",
@@ -47,6 +47,7 @@
4747
"minio",
4848
"miniouser",
4949
"mino",
50+
"nargs",
5051
"ncols",
5152
"ndarray",
5253
"nqueries",

scripts/run_test.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,16 @@
1111
from servicex.servicex_adaptor import ServiceXAdaptor
1212

1313

14-
async def run_query(endpoint: Optional[ServiceXAdaptor], dest:str) -> None:
14+
async def run_query(endpoint: Optional[ServiceXAdaptor], dest: str) -> None:
1515
ds = ServiceXDataset(
1616
"mc16_13TeV:mc16_13TeV.361106.PowhegPythia8EvtGen_AZNLOCTEQ6L1_Zee.deriv.DAOD_STDM3.e3601_e5984_s3126_r10201_r10210_p3975_tid20425969_00", # NOQA
1717
backend_type='xaod',
1818
max_workers=100,
1919
servicex_adaptor=endpoint)
2020

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
2222
if dest == 'rootfiles':
23-
r = ds.get_data_rootfiles(request) # NOQA
23+
r = ds.get_data_rootfiles(request)
2424
print(r)
2525
elif dest == 'rootfiles-minio':
2626
r = ds.get_data_rootfiles_minio_async(request)

servicex/servicex.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
import aiohttp
1212
import backoff
1313
from backoff import on_exception
14-
from numpy.lib.function_base import select
1514

1615
from servicex.servicex_config import ServiceXConfigAdaptor
1716

0 commit comments

Comments
 (0)