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

Add 'get_subs' 'get_ses' and other useful getters #442

Open
JoeZiminski opened this issue Nov 28, 2024 · 0 comments
Open

Add 'get_subs' 'get_ses' and other useful getters #442

JoeZiminski opened this issue Nov 28, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@JoeZiminski
Copy link
Member

datashuttle should be an easy way to run your experiment, not just collect data. There are currently not many convenience functions like getter / setter for paths. It would be really nice to do something like:

project_info = project.get_all_sub_and_ses()

for sub_info in project_info:
    for ses_path in sub_info["session_paths"]:
          
          ...

or like

shank_paths = project.find_folders("sub-001", "all_ses")
....

This wouldn't be much to implement but would expand the utility a lot, at the moment it's not really clear how to use datashuttle as a worflow manager.

@JoeZiminski JoeZiminski added the enhancement New feature or request label Nov 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant