Skip to content

Commit

Permalink
feat: ATLAS H>ZZ ServiceX transform names (#104)
Browse files Browse the repository at this point in the history
Co-authored-by: ekauffma <elmaka8700@gmail.com>
  • Loading branch information
ekauffma and ekauffma authored Feb 22, 2023
1 parent e9d545e commit fc2cf55
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions analyses/atlas-open-data-hzz/HZZ_analysis_pipeline.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@
"\n",
"for ds_name in input_files.keys():\n",
" ds = ServiceXDataset(input_files[ds_name], backend_name=\"uproot\", ignore_cache=IGNORE_CACHE)\n",
" files = ds.get_data_rootfiles_uri(query, as_signed_url=True)\n",
" files = ds.get_data_rootfiles_uri(query, as_signed_url=True, title=ds_name)\n",
"\n",
" fileset[ds_name] = {\"files\": [f.url for f in files],\n",
" \"metadata\": {\"dataset_name\": ds_name}\n",
Expand Down Expand Up @@ -1182,7 +1182,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.13"
"version": "3.8.16"
}
},
"nbformat": 4,
Expand Down
4 changes: 2 additions & 2 deletions analyses/atlas-open-data-hzz/HZZ_analysis_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# extension: .py
# format_name: percent
# format_version: '1.3'
# jupytext_version: 1.14.4
# jupytext_version: 1.14.1
# kernelspec:
# display_name: Python 3 (ipykernel)
# language: python
Expand Down Expand Up @@ -207,7 +207,7 @@ def get_lepton_query(source: ObjectStream) -> ObjectStream:

for ds_name in input_files.keys():
ds = ServiceXDataset(input_files[ds_name], backend_name="uproot", ignore_cache=IGNORE_CACHE)
files = ds.get_data_rootfiles_uri(query, as_signed_url=True)
files = ds.get_data_rootfiles_uri(query, as_signed_url=True, title=ds_name)

fileset[ds_name] = {"files": [f.url for f in files],
"metadata": {"dataset_name": ds_name}
Expand Down

0 comments on commit fc2cf55

Please sign in to comment.