From 289490d31cec7f047c556f2cad49ef8c5e0a3e0a Mon Sep 17 00:00:00 2001 From: KyungEon Choi Date: Fri, 19 May 2023 15:08:45 -0500 Subject: [PATCH] Bugfix for atlasr21 transformer --- README.md | 2 +- servicex_databinder/__init__.py | 2 +- servicex_databinder/request.py | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 9bcfe43..be3c481 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # ServiceX DataBinder -

Release v0.4.0

+

Release v0.4.1

[![PyPI version](https://badge.fury.io/py/servicex-databinder.svg)](https://badge.fury.io/py/servicex-databinder) diff --git a/servicex_databinder/__init__.py b/servicex_databinder/__init__.py index c235e37..2ea6737 100644 --- a/servicex_databinder/__init__.py +++ b/servicex_databinder/__init__.py @@ -2,7 +2,7 @@ from .servicex_databinder import DataBinder # NOQA -__version__ = '0.4.0' +__version__ = '0.4.1' logging.basicConfig(format="%(levelname)s - %(message)s") logging.getLogger(__name__).setLevel(logging.INFO) diff --git a/servicex_databinder/request.py b/servicex_databinder/request.py index d3fe1ac..a0c51ee 100644 --- a/servicex_databinder/request.py +++ b/servicex_databinder/request.py @@ -119,7 +119,8 @@ def _build_query(self, sample: Dict, tree: str) -> str: ) elif sample['Transformer'] == "atlasr21": query = "ServiceXSourceXAOD(ServiceXDataset('', backend_name='" \ - + "servicex-release-prod" + "'))." + sample['FuncADL'] + + self._config.get('General')['ServiceXName'] + "'))." \ + + sample['FuncADL'] try: o = eval(query) qastle_query = qastle.python_ast_to_text_ast(o._q_ast)