Skip to content

Commit

Permalink
fix: correct expected_response in beat_alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
BeritJanssen committed Jan 7, 2025
1 parent e217762 commit b90dccc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/experiment/rules/beat_alignment.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def next_trial_action(self, session):
"""Get next section for given session"""
filter_by = {'tag': '0'}
section = session.playlist.get_section(filter_by, song_ids=session.get_unused_song_ids())
condition = section.song.name.split('_')[-1][:-4]
condition = section.song.name.split('_')[-1]
expected_response = 'ON' if condition == 'on' else 'OFF'
key = 'aligned'
question = ChoiceQuestion(
Expand Down

0 comments on commit b90dccc

Please sign in to comment.