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

_prepare_continuous_data doesn't return correct path #187

Open
cxrodgers opened this issue Aug 8, 2022 · 0 comments
Open

_prepare_continuous_data doesn't return correct path #187

cxrodgers opened this issue Aug 8, 2022 · 0 comments

Comments

@cxrodgers
Copy link
Contributor

As written, the v0.5 of _prepare_continuous_data return a path called something like
/data/TASK_NAME/S00_STEPNAME/session_N
instead of
/data/TASK_NAME/S00_STEPNAME/continuous_data/session_N

The problem is here:

continuous_group_path = '/'.join([group_path, group_name])

The node is correctly created but the wrong path is returned (and then sent to _data_thread, causing problems).

For an example of a fix, see here: https://github.com/Rodgers-PAC-Lab/autopilot/blob/20decc5168ba2613f973a4c044101542dee47879/autopilot/data/subject.py#L820

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

No branches or pull requests

1 participant