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

Generalize code to retrieve conversion parameters for all example data #21

Draft
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

alessandratrapani
Copy link
Collaborator

@alessandratrapani alessandratrapani commented Dec 3, 2024

With this PR I wanted to generalize the code for all example data given by the Cai Lab.

Additions:

  1. add util functions for retrieving the data source folder path
  2. add a util function that update a yaml file that contains the for each subject and each session the list of args to pass to the session_to_nwb function

Improvements:

  1. the convert session script works for both example subjects
  2. more flexibility in choosing which data stream to add:
    • one can remove the data source path of a specific data stream directly from the yaml file
    • one can choose the data stream to add by simply calling the function for retrieving the data source folder path of that data stream exlusevely

TODO:

  • adapt script for converting week session
  • adapt script for converting all session

@alessandratrapani alessandratrapani self-assigned this Dec 3, 2024
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