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] SPM output files not renamed - Warning: Unknown prefix #655

Closed
1 task done
mwmaclean opened this issue Jun 15, 2022 · 1 comment · Fixed by #727
Closed
1 task done

[BUG] SPM output files not renamed - Warning: Unknown prefix #655

mwmaclean opened this issue Jun 15, 2022 · 1 comment · Fixed by #727
Labels
bug 🐛 Something isn't working

Comments

@mwmaclean
Copy link
Collaborator

Is there an existing issue for this?

  • I have searched the existing issues

Expected Behavior

rename all files to bids format after segmentation (during run_lesion.m ALI demo)

Current Behavior

last files are not renamed, warning message for unknown prefix

Error message

Warning: Unknown prefix: c4previous1 
> In spm_2_bids (line 121)
  In identify_sources (line 114)
  In spm_2_bids>set_metadata (line 159)
  In spm_2_bids (line 143)
  In bidsRename (line 45)
  In bidsLesionSegmentation (line 46)
  In run_lesion (line 26) 
wc4previous1sub-CTL08_ses-1_run-01_T1w.nii --> sub-CTL08_ses-1_run-01_space-IXI549Space_res-r1pt5_label-PRIOR_desc-prevIte_probseg.nii
Warning: Unknown prefix: wc4previous2 
> In spm_2_bids (line 121)
  In bidsRename (line 45)
  In bidsLesionSegmentation (line 46)
  In run_lesion (line 26) 
Warning: Unknown prefix: c4prior1 
> In spm_2_bids (line 121)
  In identify_sources (line 114)
  In spm_2_bids>set_metadata (line 159)
  In spm_2_bids (line 143)
  In bidsRename (line 45)
  In bidsLesionSegmentation (line 46)
  In run_lesion (line 26) 
wc4prior1sub-CTL08_ses-1_run-01_T1w.nii --> sub-CTL08_ses-1_run-01_space-IXI549Space_res-r1pt5_label-PRIOR_desc-nextIte_probseg.nii
Warning: Unknown prefix: wc4prior2 
> In spm_2_bids (line 121)
  In bidsRename (line 45)
  In bidsLesionSegmentation (line 46)
  In run_lesion (line 26) 
Warning: Unknown prefix: c4 
> In spm_2_bids (line 121)
  In identify_sources (line 114)
  In spm_2_bids>set_metadata (line 159)
  In spm_2_bids (line 143)
  In bidsRename (line 45)
  In bidsLesionSegmentation (line 46)
  In run_lesion (line 26) 

Environment

- OS:windows
- Matlab:R2019b
- SPM:12

Branch

- branch:
- version:

Anything else?

No response

@mwmaclean mwmaclean added the bug 🐛 Something isn't working label Jun 15, 2022
@mwmaclean
Copy link
Collaborator Author

*unknown prefix part of the ALI toolbox

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants