diff --git a/extra_requirements/requirements-tests.txt b/extra_requirements/requirements-tests.txt index ffab70ea0..1f1cdfc7d 100644 --- a/extra_requirements/requirements-tests.txt +++ b/extra_requirements/requirements-tests.txt @@ -1,6 +1,6 @@ # File for the requirements of straxen with the automated tests git+https://github.com/AxFoundation/strax -git+https://github.com/XENONnT/ax_env +git+https://github.com/XENONnT/base_environment nbmake pytest-xdist xedocs==0.2.25 diff --git a/straxen/contexts.py b/straxen/contexts.py index 3bf174ee6..a8bca2833 100644 --- a/straxen/contexts.py +++ b/straxen/contexts.py @@ -160,8 +160,7 @@ def find_rucio_local_path(include_rucio_local, _rucio_local_path): __rucio_local_path = "/project/lgrandi/rucio/" print( "You specified _auto_append_rucio_local=True and you are not on dali compute nodes, " - "so we will add the following rucio local path: ", - __rucio_local_path, + f"so we will add the following rucio local path: {__rucio_local_path}" ) return _include_rucio_local, __rucio_local_path diff --git a/straxen/plugins/events/events.py b/straxen/plugins/events/events.py index 5599d757f..3696ea31c 100644 --- a/straxen/plugins/events/events.py +++ b/straxen/plugins/events/events.py @@ -29,7 +29,7 @@ class Events(strax.OverlapWindowPlugin): provides = "events" data_kind = "events" - save_when = strax.SaveWhen.NEVER + save_when = strax.SaveWhen.EXPLICIT dtype = [ ("event_number", np.int64, "Event number in this dataset"),