Skip to content

Commit

Permalink
Bump to v2.2.5 (#1407)
Browse files Browse the repository at this point in the history
* Update HISTORY.md

* Bump version: 2.2.4 → 2.2.5

* Bug fix to be compatible with latest strax

6a17e3785e942dca703f038c29f6b7544999a2ee
  • Loading branch information
dachengx authored Aug 17, 2024
1 parent 4d6c2b7 commit 5622027
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 2.2.4
current_version = 2.2.5
files = setup.py straxen/__init__.py
commit = True
tag = True
8 changes: 8 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
2.2.5 / 2024-08-17
-------------------
* Generate only one instance for `MongoDownloader` by @dachengx in https://github.com/XENONnT/straxen/pull/1398
* Load whole run for `VetoIntervals` regardless the run length by @dachengx in https://github.com/XENONnT/straxen/pull/1399

**Full Changelog**: https://github.com/XENONnT/straxen/compare/v2.2.4...v2.2.5


2.2.4 / 2024-07-01
-------------------
* Parse USERDISK base on hostname in RunDB by @dachengx in https://github.com/XENONnT/straxen/pull/1384
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def open_requirements(path):

setuptools.setup(
name="straxen",
version="2.2.4",
version="2.2.5",
description="Streaming analysis for XENON",
author="Straxen contributors, the XENON collaboration",
url="https://github.com/XENONnT/straxen",
Expand Down
2 changes: 1 addition & 1 deletion straxen/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# mypy: disable-error-code="no-redef"
__version__ = "2.2.4"
__version__ = "2.2.5"

from utilix import uconfig
from .common import *
Expand Down
8 changes: 4 additions & 4 deletions tests/storage/test_database_frontends.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,11 +174,11 @@ def test_invalids(self):
r = self.test_run_ids[0]
keys = [self.st.key_for(r, t) for t in self.all_targets]
self.rundb_sf.find_several(keys, fuzzy_for=self.all_targets)
with self.assertRaises(strax.DataNotAvailable):
self.rundb_sf.find(self.st.key_for("_super-run", self.all_targets[0]))
with self.assertRaises(strax.DataNotAvailable):
with self.assertRaises(strax.RunMetadataNotAvailable):
self.rundb_sf.find(self.st.key_for("_superrun", self.all_targets[0]))
with self.assertRaises(strax.RunMetadataNotAvailable):
self.rundb_sf._find(
self.st.key_for("_super-run", self.all_targets[0]),
self.st.key_for("_superrun", self.all_targets[0]),
write=False,
allow_incomplete=False,
fuzzy_for=[],
Expand Down

0 comments on commit 5622027

Please sign in to comment.