Skip to content

fix(ui): read participant_id and session_id from args instead of hardcoded values#18

Open
laurapiro17 wants to merge 2 commits intonipoppy:mainfrom
laurapiro17:fix/ui-hardcoded-participant-id
Open

fix(ui): read participant_id and session_id from args instead of hardcoded values#18
laurapiro17 wants to merge 2 commits intonipoppy:mainfrom
laurapiro17:fix/ui-hardcoded-participant-id

Conversation

@laurapiro17
Copy link
Copy Markdown
Contributor

participant_id was hardcoded to 'sub-ED01' and session_id to 'ses-01', so passing --participant_list or --session_list had no effect on which participant was displayed. this reads participant_id from participants_df using the current page index, and session_id from the session_list arg. also removes a duplicate 'import streamlit as st' on line 11.

…coded values

participant_id was hardcoded to 'sub-ED01' and session_id to 'ses-01',
ignoring the --participant_list and --session_list arguments entirely.
also removes duplicate 'import streamlit as st' on line 11.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant