Skip to content

Commit

Permalink
Fix forgotten resampling_args in screen_count
Browse files Browse the repository at this point in the history
  • Loading branch information
rantahar committed Oct 7, 2024
1 parent 3789de6 commit 02fd875
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions niimpy/preprocessing/screen.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,8 @@ def screen_count(df, bat=None, config=None):
if config is None:
config = {}
assert isinstance(config, dict), "config is not a dictionary"

config["resample_args"] = config.get("resample_args", {"rule":"30min"})

df2 = util_screen(df, bat, config)
df2 = event_classification_screen(df2, config)
Expand Down

0 comments on commit 02fd875

Please sign in to comment.