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

[BUG]: Naming file crashes Lead Connectome process #1111

Open
diegoadriperez opened this issue Oct 27, 2023 · 3 comments
Open

[BUG]: Naming file crashes Lead Connectome process #1111

diegoadriperez opened this issue Oct 27, 2023 · 3 comments
Labels

Comments

@diegoadriperez
Copy link

Describe the bug
The bug is a mismatch between a file name that is expected versus the file name that is actually saved.

To Reproduce
Steps to reproduce the behavior:
Running the lead connectome on these settings:

  • Parcellation scheme: AAL 3
  • Upsampling factor: None (1x)
  • Perform fibertracking (checked)
  • Normalize Fibers (checked)
  • Compute connectivity matrix (checked)
  • Compute graph-metrics
  • Threshold: NaN
  • Fiber count: 200000
    Save and close.

If you stop the code once it starts using ea_map_coords.m at line 103. Continue through until you get to the SPM normmethod (line 188). It should find a file named: "b02anat_t2-spm.mat" but instead finds a file named "b02anat_t2_spm". The "-" versus the "_" crashes the code.

Expected behavior
It should find the file and continue as normal with no issue.

Screenshots
N/A

Environment:

  • OS: Windows
  • MATLAB version: R2023a
  • Lead-DBS version: v3.0
  • Lead-DBS setup: Downloaded from website

Additional context
Add any other context about the problem here.

@ningfei
Copy link
Collaborator

ningfei commented Oct 27, 2023

sorry, Lead Connectome is not yet ready for 3.0 with the BIDS folder structure. We plan to release a new version in the beginning of next year.

@diegoadriperez
Copy link
Author

Should I downgrade to the version before for the time being?

@ningfei
Copy link
Collaborator

ningfei commented Oct 27, 2023

For LeadConnectome, you can use the classic version. Otherwise better use v3.0 version. You can also setup your LeadDBS from github. So you can switch between the two versions easily. For more info, can check out our manual: https://netstim.gitbook.io/leaddbs/installation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants