-
Notifications
You must be signed in to change notification settings - Fork 39
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
"RuntimeWarning: Missing cross-reference index" displayed during execution #142
Comments
I think |
This does not seem to happen with an |
Which executor(s) are you using? |
I saw the warnings with the DaskExecutor and a local dask client ( |
Gotcha - looking around you should be able to control the warnings behavior with: and you can even make it fairly fine grained (i.e. a particular warning to be ignored). You can set that env var for dask workers or otherwise. For local dask distributed (i.e. with a
For stuff on batch there's a few ways to do it either by dask config file or running functions that alter the environment on the worker. |
Thank you @lgray , but doesn't this mean |
@eguiraud For data exploration and initial knowing-what-you're-working with it's still useful. I'd want to know that certain parts of functionality are not available in a given file. For production grade analyses it is not useful, I agree. However, you can control it with an environment variable. Therefore, I think the current implementation is fine. I will entertain counterarguments. |
Yes I agree the warning is useful, I meant |
Gotcha. I can think of some ways to make it more useful in coffea 2023 so that the flag is more uniformly set. No reasonable way to fix it in coffea 0.7 though. Please make an issue on coffea github. I'll see what I can do! |
Actually - hold that thought a second. I'll double check it but I think it's already effectively "fixed" in the new implementation. The code that generates that error is only ever run once and only on the node local to the user. |
Indeed, this is not an annoyance in coffea 2023. Suggest using the python environment variable in coffea 0.7. |
IIUC these warnings are harmless, but I guess it would be nice to remove them altogether, they pollute the notebook output.
It should be enough to run the ttbar notebook locally (by using
AF: local
inconfig.yaml
) to reproduce them.The text was updated successfully, but these errors were encountered: