Skip to content
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

fix writing via XRootD (called from uproot) #76

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

maxgalli
Copy link

This PR fixes scikit-hep/uproot5#1252.
Touching (and truncating) a file on EOS (implemented here) needs the File interface in XRootD (as explained here).
After this, other changes were needed, especially to allow for the r+b mode used in uproot when opening a file. To do this, some functions such as seek, write, read where re-implemented instead of using the default ones in AbstractBufferedFile.

Note: I believe some of these changes do not follow the logic that was originally implemented, so indications in this sense are much appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

uproot cannot write root files over xrootd.
1 participant