rootloader 0.4.1__tar.gz → 0.4.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {rootloader-0.4.1 → rootloader-0.4.2}/PKG-INFO +1 -1
- {rootloader-0.4.1 → rootloader-0.4.2}/rootloader/tdirectory.py +5 -5
- rootloader-0.4.2/rootloader/version.py +1 -0
- rootloader-0.4.1/rootloader/version.py +0 -1
- {rootloader-0.4.1 → rootloader-0.4.2}/.gitignore +0 -0
- {rootloader-0.4.1 → rootloader-0.4.2}/LICENSE +0 -0
- {rootloader-0.4.1 → rootloader-0.4.2}/README.md +0 -0
- {rootloader-0.4.1 → rootloader-0.4.2}/docs/README.md +0 -0
- {rootloader-0.4.1 → rootloader-0.4.2}/docs/rootloader/attrdict.md +0 -0
- {rootloader-0.4.1 → rootloader-0.4.2}/docs/rootloader/index.md +0 -0
- {rootloader-0.4.1 → rootloader-0.4.2}/docs/rootloader/tdirectory.md +0 -0
- {rootloader-0.4.1 → rootloader-0.4.2}/docs/rootloader/tfile.md +0 -0
- {rootloader-0.4.1 → rootloader-0.4.2}/docs/rootloader/th1.md +0 -0
- {rootloader-0.4.1 → rootloader-0.4.2}/docs/rootloader/th2.md +0 -0
- {rootloader-0.4.1 → rootloader-0.4.2}/docs/rootloader/tleaf.md +0 -0
- {rootloader-0.4.1 → rootloader-0.4.2}/docs/rootloader/ttree.md +0 -0
- {rootloader-0.4.1 → rootloader-0.4.2}/docs/rootloader/version.md +0 -0
- {rootloader-0.4.1 → rootloader-0.4.2}/pyproject.toml +0 -0
- {rootloader-0.4.1 → rootloader-0.4.2}/rootloader/__init__.py +0 -0
- {rootloader-0.4.1 → rootloader-0.4.2}/rootloader/attrdict.py +0 -0
- {rootloader-0.4.1 → rootloader-0.4.2}/rootloader/tfile.py +0 -0
- {rootloader-0.4.1 → rootloader-0.4.2}/rootloader/th1.py +0 -0
- {rootloader-0.4.1 → rootloader-0.4.2}/rootloader/th2.py +0 -0
- {rootloader-0.4.1 → rootloader-0.4.2}/rootloader/tleaf.py +0 -0
- {rootloader-0.4.1 → rootloader-0.4.2}/rootloader/ttree.py +0 -0
|
@@ -39,17 +39,17 @@ class tdirectory(attrdict):
|
|
|
39
39
|
|
|
40
40
|
# keep key if not yet in dict
|
|
41
41
|
if name not in keys.keys():
|
|
42
|
-
keys[name] = key
|
|
42
|
+
keys[name] = (name, key.GetCycle())
|
|
43
43
|
else:
|
|
44
44
|
|
|
45
45
|
# keep key with largest cycle number
|
|
46
|
-
if key.GetCycle() > keys[name]
|
|
47
|
-
keys[name] = key
|
|
46
|
+
if key.GetCycle() > keys[name][1]:
|
|
47
|
+
keys[name] = (name, key.GetCycle())
|
|
48
48
|
|
|
49
49
|
# read trees and histograms from data file
|
|
50
|
-
for name,
|
|
50
|
+
for name, cycle in tqdm(keys.values(), desc=f'Loading {directory.GetName()}',
|
|
51
51
|
leave=False, total=len(keys)):
|
|
52
|
-
obj = directory.Get(name)
|
|
52
|
+
obj = directory.Get(f'{name};{cycle}')
|
|
53
53
|
classname = obj.ClassName()
|
|
54
54
|
|
|
55
55
|
# TTree
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = '0.4.2'
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = '0.4.1'
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|