Skip to content
This repository has been archived by the owner on Jun 21, 2022. It is now read-only.

Commit

Permalink
Merge pull request #328 from scikit-hep/issue-327
Browse files Browse the repository at this point in the history
Fixes issue #327.
  • Loading branch information
jpivarski committed Sep 4, 2019
2 parents 3a12730 + 725d2e9 commit df8467f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
Binary file added tests/samples/issue327.root
Binary file not shown.
3 changes: 3 additions & 0 deletions tests/test_issues.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,3 +203,6 @@ def test_issue243_new(self):
for i in range(t.numentries):
x = dict(zip(first[i], second[i]))
assert all(y == 1.0 for y in x.values())

def test_issue327(self):
uproot.open("tests/samples/issue327.root")["DstTree"]
2 changes: 1 addition & 1 deletion uproot/tree.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ class TTreeMethods(object):
_copycontext = True

_vector_regex = re.compile(b"^vector<(.+)>$")
_objectpointer_regex = re.compile(b"\((.*)\)")
_objectpointer_regex = re.compile(br"\(([^()]*)\)$")

def _attachstreamer(self, branch, streamer, streamerinfosmap, isTClonesArray):
if streamer is None:
Expand Down
2 changes: 1 addition & 1 deletion uproot/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

import re

__version__ = "3.9.1"
__version__ = "3.9.2"
version = __version__
version_info = tuple(re.split(r"[-\.]", __version__))

Expand Down

0 comments on commit df8467f

Please sign in to comment.