Skip to content

Conversation

@Evan8456
Copy link
Contributor

  • Updated session id to be a sequential number
  • For redcap generation, updated so participant questionnaire and recordings are the same session id

@Evan8456 Evan8456 marked this pull request as ready for review October 29, 2025 17:38
@Evan8456 Evan8456 requested a review from alistairewj October 29, 2025 17:38
logging.info(f"Remapped {n_different} / {len(ids_before)} IDs for 'session_id'")
if participant_session_id_to_remap:
for col in df.columns:
if "session_id" in col:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this seems to assume that there might be muiltiple session_id columns? Is that correnct

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so some phenotype don't necessarily have "session_id" but something like {insert_questionnare}_session_id so i iterate to find the matching column.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cool just checking

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.

3 participants