Skip to content

Commit

Permalink
Merge pull request #15 from kyungeonchoi/multi-codegen
Browse files Browse the repository at this point in the history
Bugfix for atlasr21 transformer
  • Loading branch information
kyungeonchoi authored May 19, 2023
2 parents 88d4188 + 289490d commit c9a3e53
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# ServiceX DataBinder

<p align="right"> Release v0.4.0 </p>
<p align="right"> Release v0.4.1 </p>

[![PyPI version](https://badge.fury.io/py/servicex-databinder.svg)](https://badge.fury.io/py/servicex-databinder)

Expand Down
2 changes: 1 addition & 1 deletion servicex_databinder/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
3 changes: 2 additions & 1 deletion servicex_databinder/request.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit c9a3e53

Please sign in to comment.