Fix detection of uproot4 writing capability
The latest uproot 4.x includes create()
and recreate()
functions, but don't include the newtree
function that we need to translate numpy arrays into ROOT-serialisable objects, so this PR just updates the _import_uproot_that_can_write_root_files()
function to check for newtree
.