Skip to content

Commit

Permalink
BUG: wrong dataframe
Browse files Browse the repository at this point in the history
  • Loading branch information
jungheejung committed Mar 8, 2024
1 parent 0adf742 commit b8fefce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spacetop_prep/events/bidsify_task_cue_p.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ def calculate_ttl_values(stimulus_times, ttl_row, beh_df):
expect_overall_flag = traj_df['comparison_flag'].any()
if expect_overall_flag:
logger.error(f"{sub_bids} {ses_bids} {run_bids} 3-3. angles do not match between behavioral data and trajectory data")
logger.info(beh_df['event02_expect_angle'].head(), beh_df['adjusted_expectangle_degrees'].head())
logger.info(traj_df['event02_expect_angle'].head(), traj_df['adjusted_expectangle_degrees'].head())
break
beh_df['event04_outcome_fillna'] = beh_df['event04_actual_angle']
beh_df['event04_outcome_fillna'].fillna(traj_df['adjusted_outcomeangle_degrees'], inplace=True)
Expand Down

0 comments on commit b8fefce

Please sign in to comment.