Skip to content

Commit

Permalink
BUG: fix column typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jungheejung committed Aug 25, 2024
1 parent 5c4a2cb commit d2383f1
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions spacetop_prep/events/bidsify_alignvideos_ENH.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,13 +173,13 @@ def alignvideo_format_to_bids(sub, ses, run, task_name, beh_inputdir, bids_dir):
# Event 2 through Event 8. Seven Emotion Ratings
new_beh = pd.concat([
new_beh,
add_rating_event(source_beh, t, t_run_start, 'rating_relevance', 'event02_rating01_onset', 'event02_rating01_RT', 'event02_rating01_rating'),
add_rating_event(source_beh, t, t_run_start, 'rating_happy', 'event02_rating02_onset', 'event02_rating02_RT', 'event02_rating02_rating'),
add_rating_event(source_beh, t, t_run_start, 'rating_sad', 'event02_rating03_onset', 'event02_rating03_RT', 'event02_rating03_rating'),
add_rating_event(source_beh, t, t_run_start, 'rating_afraid', 'event02_rating04_onset', 'event02_rating04_RT', 'event02_rating04_rating'),
add_rating_event(source_beh, t, t_run_start, 'rating_disgusted', 'event02_rating05_onset', 'event02_rating05_RT', 'event02_rating05_rating'),
add_rating_event(source_beh, t, t_run_start, 'rating_warm', 'event02_rating06_onset', 'event02_rating06_RT', 'event02_rating06_rating'),
add_rating_event(source_beh, t, t_run_start, 'rating_engaged', 'event02_rating07_onset', 'event02_rating07_RT', 'event02_rating07_rating')
add_rating_event(source_beh, t, t_run_start, 'rating_relevance', 'event02_rating01_displayonset', 'event02_rating01_RT', 'event02_rating01_rating'),
add_rating_event(source_beh, t, t_run_start, 'rating_happy', 'event02_rating02_displayonset', 'event02_rating02_RT', 'event02_rating02_rating'),
add_rating_event(source_beh, t, t_run_start, 'rating_sad', 'event02_rating03_displayonset', 'event02_rating03_RT', 'event02_rating03_rating'),
add_rating_event(source_beh, t, t_run_start, 'rating_afraid', 'event02_rating04_displayonset', 'event02_rating04_RT', 'event02_rating04_rating'),
add_rating_event(source_beh, t, t_run_start, 'rating_disgusted', 'event02_rating05_displayonset', 'event02_rating05_RT', 'event02_rating05_rating'),
add_rating_event(source_beh, t, t_run_start, 'rating_warm', 'event02_rating06_displayonset', 'event02_rating06_RT', 'event02_rating06_rating'),
add_rating_event(source_beh, t, t_run_start, 'rating_engaged', 'event02_rating07_displayonset', 'event02_rating07_RT', 'event02_rating07_rating')
], ignore_index=True)

# change precisions
Expand Down

0 comments on commit d2383f1

Please sign in to comment.