atlas-ftag-tools 0.2.4__py3-none-any.whl → 0.2.5__py3-none-any.whl
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.
- {atlas_ftag_tools-0.2.4.dist-info → atlas_ftag_tools-0.2.5.dist-info}/METADATA +1 -1
- {atlas_ftag_tools-0.2.4.dist-info → atlas_ftag_tools-0.2.5.dist-info}/RECORD +7 -7
- ftag/__init__.py +1 -1
- ftag/hdf5/h5writer.py +1 -1
- {atlas_ftag_tools-0.2.4.dist-info → atlas_ftag_tools-0.2.5.dist-info}/WHEEL +0 -0
- {atlas_ftag_tools-0.2.4.dist-info → atlas_ftag_tools-0.2.5.dist-info}/entry_points.txt +0 -0
- {atlas_ftag_tools-0.2.4.dist-info → atlas_ftag_tools-0.2.5.dist-info}/top_level.txt +0 -0
@@ -1,4 +1,4 @@
|
|
1
|
-
ftag/__init__.py,sha256=
|
1
|
+
ftag/__init__.py,sha256=zyUUWzZ1zOpMhxY_LPiudOCUQhPzJN0HNgCrfi8dhqk,629
|
2
2
|
ftag/cli_utils.py,sha256=w3TtQmUHSyAKChS3ewvOtcSDAUJAZGIIomaNi8f446U,298
|
3
3
|
ftag/cuts.py,sha256=9_ooLZHaO3SnIQBNxwbaPZn-qptGdKnB27FdKQGTiTY,2933
|
4
4
|
ftag/flavour.py,sha256=EMZZLyl6lSdvkfrYxHhMcSn3aqP_FU7OpCFkvZpTksU,3761
|
@@ -17,12 +17,12 @@ ftag/hdf5/h5move.py,sha256=oYpRu0IDCIJIQ2ML52HBAdoyDxmKkHTeM9JdbPEgKfI,947
|
|
17
17
|
ftag/hdf5/h5reader.py,sha256=i31pDAqmOSaxdeRhc4iSBlld8xJ0pmp4rNd7CugNzw0,13706
|
18
18
|
ftag/hdf5/h5split.py,sha256=4Wy6Xc3J58MdD9aBaSZHf5ZcVFnJSkWsm42R5Pgo-R4,2448
|
19
19
|
ftag/hdf5/h5utils.py,sha256=-4zKTMtNCrDZr_9Ww7uzfsB7M7muBKpmm_1IkKJnHOI,3222
|
20
|
-
ftag/hdf5/h5writer.py,sha256=
|
20
|
+
ftag/hdf5/h5writer.py,sha256=9FkClV__UbBqmFsq_h2jwiZnbWVm8QFRL_4mDZZBbTs,5316
|
21
21
|
ftag/wps/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
22
22
|
ftag/wps/discriminant.py,sha256=kJFekUTPNIvCabJCon6OqOAQEzz5hj3XrWFFRLOgGOs,3836
|
23
23
|
ftag/wps/working_points.py,sha256=VTU6OD40ULAJQD0MlD1EZd33q8ociUvFX1YrhgJFvXc,9722
|
24
|
-
atlas_ftag_tools-0.2.
|
25
|
-
atlas_ftag_tools-0.2.
|
26
|
-
atlas_ftag_tools-0.2.
|
27
|
-
atlas_ftag_tools-0.2.
|
28
|
-
atlas_ftag_tools-0.2.
|
24
|
+
atlas_ftag_tools-0.2.5.dist-info/METADATA,sha256=iDolDKoU7iyKkH-w-tY6RwhtYhkbq7Ehdw6j1FlUq4g,5169
|
25
|
+
atlas_ftag_tools-0.2.5.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
|
26
|
+
atlas_ftag_tools-0.2.5.dist-info/entry_points.txt,sha256=LfVLsZHQolqbPnwPgtmc5IQTh527BKkN2v-IpXWTNHw,137
|
27
|
+
atlas_ftag_tools-0.2.5.dist-info/top_level.txt,sha256=qiYQuKcAvMim-31FwkT3MTQu7WQm0s58tPAia5KKWqs,5
|
28
|
+
atlas_ftag_tools-0.2.5.dist-info/RECORD,,
|
ftag/__init__.py
CHANGED
ftag/hdf5/h5writer.py
CHANGED
@@ -81,7 +81,7 @@ class H5Writer:
|
|
81
81
|
return cls(dtypes=dtypes, shapes=shapes, **kwargs)
|
82
82
|
|
83
83
|
def create_ds(self, name: str, dtype: np.dtype) -> None:
|
84
|
-
if name == self.jets_name and self.add_flavour_label:
|
84
|
+
if name == self.jets_name and self.add_flavour_label and "flavour_label" not in dtype.names:
|
85
85
|
dtype = np.dtype([*dtype.descr, ("flavour_label", "i4")])
|
86
86
|
|
87
87
|
# adjust dtype based on specified precision
|
File without changes
|
File without changes
|
File without changes
|