atlas-ftag-tools 0.2.4__tar.gz → 0.2.5__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.
Files changed (34) hide show
  1. {atlas_ftag_tools-0.2.4 → atlas_ftag_tools-0.2.5}/PKG-INFO +1 -1
  2. {atlas_ftag_tools-0.2.4 → atlas_ftag_tools-0.2.5}/atlas_ftag_tools.egg-info/PKG-INFO +1 -1
  3. {atlas_ftag_tools-0.2.4 → atlas_ftag_tools-0.2.5}/ftag/__init__.py +1 -1
  4. {atlas_ftag_tools-0.2.4 → atlas_ftag_tools-0.2.5}/ftag/hdf5/h5writer.py +1 -1
  5. {atlas_ftag_tools-0.2.4 → atlas_ftag_tools-0.2.5}/MANIFEST.in +0 -0
  6. {atlas_ftag_tools-0.2.4 → atlas_ftag_tools-0.2.5}/README.md +0 -0
  7. {atlas_ftag_tools-0.2.4 → atlas_ftag_tools-0.2.5}/atlas_ftag_tools.egg-info/SOURCES.txt +0 -0
  8. {atlas_ftag_tools-0.2.4 → atlas_ftag_tools-0.2.5}/atlas_ftag_tools.egg-info/dependency_links.txt +0 -0
  9. {atlas_ftag_tools-0.2.4 → atlas_ftag_tools-0.2.5}/atlas_ftag_tools.egg-info/entry_points.txt +0 -0
  10. {atlas_ftag_tools-0.2.4 → atlas_ftag_tools-0.2.5}/atlas_ftag_tools.egg-info/requires.txt +0 -0
  11. {atlas_ftag_tools-0.2.4 → atlas_ftag_tools-0.2.5}/atlas_ftag_tools.egg-info/top_level.txt +0 -0
  12. {atlas_ftag_tools-0.2.4 → atlas_ftag_tools-0.2.5}/ftag/cli_utils.py +0 -0
  13. {atlas_ftag_tools-0.2.4 → atlas_ftag_tools-0.2.5}/ftag/cuts.py +0 -0
  14. {atlas_ftag_tools-0.2.4 → atlas_ftag_tools-0.2.5}/ftag/flavour.py +0 -0
  15. {atlas_ftag_tools-0.2.4 → atlas_ftag_tools-0.2.5}/ftag/flavours.yaml +0 -0
  16. {atlas_ftag_tools-0.2.4 → atlas_ftag_tools-0.2.5}/ftag/git_check.py +0 -0
  17. {atlas_ftag_tools-0.2.4 → atlas_ftag_tools-0.2.5}/ftag/hdf5/__init__.py +0 -0
  18. {atlas_ftag_tools-0.2.4 → atlas_ftag_tools-0.2.5}/ftag/hdf5/h5move.py +0 -0
  19. {atlas_ftag_tools-0.2.4 → atlas_ftag_tools-0.2.5}/ftag/hdf5/h5reader.py +0 -0
  20. {atlas_ftag_tools-0.2.4 → atlas_ftag_tools-0.2.5}/ftag/hdf5/h5split.py +0 -0
  21. {atlas_ftag_tools-0.2.4 → atlas_ftag_tools-0.2.5}/ftag/hdf5/h5utils.py +0 -0
  22. {atlas_ftag_tools-0.2.4 → atlas_ftag_tools-0.2.5}/ftag/labeller.py +0 -0
  23. {atlas_ftag_tools-0.2.4 → atlas_ftag_tools-0.2.5}/ftag/mock.py +0 -0
  24. {atlas_ftag_tools-0.2.4 → atlas_ftag_tools-0.2.5}/ftag/region.py +0 -0
  25. {atlas_ftag_tools-0.2.4 → atlas_ftag_tools-0.2.5}/ftag/sample.py +0 -0
  26. {atlas_ftag_tools-0.2.4 → atlas_ftag_tools-0.2.5}/ftag/test_cli_utils.py +0 -0
  27. {atlas_ftag_tools-0.2.4 → atlas_ftag_tools-0.2.5}/ftag/track_selector.py +0 -0
  28. {atlas_ftag_tools-0.2.4 → atlas_ftag_tools-0.2.5}/ftag/transform.py +0 -0
  29. {atlas_ftag_tools-0.2.4 → atlas_ftag_tools-0.2.5}/ftag/vds.py +0 -0
  30. {atlas_ftag_tools-0.2.4 → atlas_ftag_tools-0.2.5}/ftag/wps/__init__.py +0 -0
  31. {atlas_ftag_tools-0.2.4 → atlas_ftag_tools-0.2.5}/ftag/wps/discriminant.py +0 -0
  32. {atlas_ftag_tools-0.2.4 → atlas_ftag_tools-0.2.5}/ftag/wps/working_points.py +0 -0
  33. {atlas_ftag_tools-0.2.4 → atlas_ftag_tools-0.2.5}/pyproject.toml +0 -0
  34. {atlas_ftag_tools-0.2.4 → atlas_ftag_tools-0.2.5}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: atlas-ftag-tools
3
- Version: 0.2.4
3
+ Version: 0.2.5
4
4
  Summary: ATLAS Flavour Tagging Tools
5
5
  Author: Sam Van Stroud, Philipp Gadow
6
6
  License: MIT
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: atlas-ftag-tools
3
- Version: 0.2.4
3
+ Version: 0.2.5
4
4
  Summary: ATLAS Flavour Tagging Tools
5
5
  Author: Sam Van Stroud, Philipp Gadow
6
6
  License: MIT
@@ -2,7 +2,7 @@
2
2
 
3
3
  from __future__ import annotations
4
4
 
5
- __version__ = "v0.2.4"
5
+ __version__ = "v0.2.5"
6
6
 
7
7
 
8
8
  from ftag import hdf5
@@ -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