Skip to content

Commit

Permalink
DEV: remove invalid pain trials
Browse files Browse the repository at this point in the history
  • Loading branch information
jungheejung committed Aug 26, 2024
1 parent 88fbd9f commit ffbaf50
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion spacetop_prep/events/bidsify_social_factorize_ENH.py
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,6 @@ def process_behavioral_data(cue, expect, stim, outcome, beh_df, traj_df, trigger
events_sorted.fillna('n/a', inplace=True)
if task_name == 'pain':
events_sorted = events_sorted[events_sorted['pain_stimulus_delivery_success'].notna()]

if os.path.exists(beh_savedir) and os.path.isdir(beh_savedir):
events_sorted.to_csv(join(beh_savedir, f"{sub_bids}_{ses_bids}_task-social_acq-mb8_{run_bids}_events.tsv"), sep='\t', index=False)
else:
Expand Down

0 comments on commit ffbaf50

Please sign in to comment.