Skip to content

Commit

Permalink
No need to set loop_over for EventBasics (#1377)
Browse files Browse the repository at this point in the history
  • Loading branch information
dachengx authored May 3, 2024
1 parent a23283c commit fe9b9fa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion straxen/plugins/events/event_basics.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ class EventBasics(strax.Plugin):
depends_on = ("events", "peak_basics", "peak_positions", "peak_proximity")
provides = "event_basics"
data_kind = "events"
loop_over = "events"

electron_drift_velocity = straxen.URLConfig(
default="cmt://electron_drift_velocity?version=ONLINE&run_id=plugin.run_id",
Expand Down
4 changes: 2 additions & 2 deletions tests/test_url_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -375,8 +375,8 @@ def test_xedocs_global_version_hash_coinsistency(self):
config={"test_config": "fake://electron_lifetimes?attr=value&run_id=25000&version=v5"}
)
self.assertEqual(
st1.key_for(25000, "corrected_areas").lineage_hash,
st2.key_for(25000, "corrected_areas").lineage_hash,
st1.key_for("025000", "corrected_areas").lineage_hash,
st2.key_for("025000", "corrected_areas").lineage_hash,
)

def test_global_version_not_changed(self):
Expand Down

0 comments on commit fe9b9fa

Please sign in to comment.