Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change session id definition #24

Merged
merged 3 commits into from
Dec 10, 2024
Merged

Conversation

alessandratrapani
Copy link
Collaborator

@alessandratrapani alessandratrapani commented Dec 9, 2024

review after #13
I needed to change session_id definition because it contained the subject_id
Example:
subject_id = Ca_EEG3-4
session_id = Ca_EEG3-4_NeutralExposure
This would have been an issue when running dandi organize: it would assign to the nwbfile the following name pattern:
sub-{subject_id}_ses-{session_id} = sub-Ca_EEG3-4_ses-Ca_EEG3-4_NeutralExposure

With this change:
subject_id = Ca_EEG3-4
session_id = NeutralExposure
sub-{subject_id}_ses-{session_id} = sub-Ca_EEG3-4_ses-NeutralExposure

@alessandratrapani alessandratrapani changed the base branch from main to add_demo_notebook December 9, 2024 15:05
Copy link
Collaborator

@h-mayorquin h-mayorquin left a comment

Choose a reason for hiding this comment

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

Future proofs dandi organization.

Base automatically changed from add_demo_notebook to main December 10, 2024 09:21
@alessandratrapani alessandratrapani merged commit b1c3cdc into main Dec 10, 2024
@alessandratrapani alessandratrapani deleted the change_session_id_definition branch December 10, 2024 09:22
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.

2 participants