Skip to content

Commit 9bfbef6

Browse files
committed
load json from deliver, cherry picked from ef39103
1 parent b1e7808 commit 9bfbef6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

servicex_analysis_utils/file_peeking.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -297,14 +297,14 @@ def get_structure(datasets, array_out=False, **kwargs):
297297
output = deliver(spec_python)
298298

299299
if array_out == True:
300-
all_arrays = {}
300+
all_requests = {}
301301
for sample, path in output.items():
302302
structure_str = open_delivered_file(sample, path)
303303
if structure_str is None:
304304
continue
305305
sample_array = str_to_array(structure_str)
306-
all_arrays[sample] = sample_array
307-
return all_arrays
306+
all_requests[sample] = sample_array
307+
return all_requests
308308

309309
else:
310310
return print_structure_from_str(output, **kwargs)

0 commit comments

Comments
 (0)