-
Couldn't load subscription status.
- Fork 0
Fixed issue #21 bad error when no data is present #29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
To do testing for this this file can be used: /data/rjanusia/IrisHep/DAOD_LLP1_noDATA.outputLLP1.root" |
| if arrays: | ||
| awk_arrays[sample] = ak.concatenate(arrays) | ||
| else: | ||
| raise RuntimeError( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This would be more of a ValueError
| list(iterators) | ||
| ) # return array | ||
|
|
||
| arrays = list(iterators) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should rename this var to something like iterator_list, which would make more sense
|
Yesterday, there was a specific issue in af Uchicago for accessing /data |
|
Maybe we should add a raise error test in test_materialization? |
|
Related to #21 |
When there is no data for a root file that does not use iterator it gives a gross error that Is not easy to understand. This way when there is no data in the file it gives error that makes it clear that is the problem.