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

Error in computing functional connectivity with BIDS #80

Open
xu-boyan opened this issue Nov 14, 2024 · 1 comment
Open

Error in computing functional connectivity with BIDS #80

xu-boyan opened this issue Nov 14, 2024 · 1 comment

Comments

@xu-boyan
Copy link

When computing functional connectivity using the BIDS format, an error occurs. In this case, startingDirName is set to 'BIDS', and running DPARSFA_RerunWithGSR will search for a non-existent folder named 'BIDSAR'. Additionally, it's necessary to disable IsBIDStoDPARSF, otherwise, when calling DPARSFA_run, startingDirName will be reset to 'FunImg' instead of the directory with the first timepoints removed.
The following alterations in DPARSA_RerunWithGSR might be beneficial:

if strcmpi(StartingDirName,'BIDS')
    StartingDirName = 'FunImg';
    Cfg.IsBIDStoDPARSF = 0;
end
@Chaogan-Yan
Copy link
Owner

Thanks for your suggestion. Please test if the updated version works.

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

2 participants