help
help > RE: conn17a ERROR: duplicate ROI labels
Nov 4, 2016 01:11 AM | Alfonso Nieto-Castanon - Boston University
RE: conn17a ERROR: duplicate ROI labels
Hi Shady,
I believe I finally was able to replicate it (and fix it). Please try the attached patch and let me know if everything seems to be working fine now (this patch is for release 17a, simply copy the attached file to the conn distribution folder overwriting the file with the same name there)
Thanks for reporting this and for all the additional info, and sorry for the extra trouble (if I got it right it was a somewhat strange interaction with other settings; e.g. if you unchecked in Setup.Options the 'create REX files' option it would have worked just fine).
Best
Alfonso
Originally posted by Shady El Damaty:
I believe I finally was able to replicate it (and fix it). Please try the attached patch and let me know if everything seems to be working fine now (this patch is for release 17a, simply copy the attached file to the conn distribution folder overwriting the file with the same name there)
Thanks for reporting this and for all the additional info, and sorry for the extra trouble (if I got it right it was a somewhat strange interaction with other settings; e.g. if you unchecked in Setup.Options the 'create REX files' option it would have worked just fine).
Best
Alfonso
Originally posted by Shady El Damaty:
Hi Alfonso,
I ended up reverting back to the previous version to add my ROIs - however I followed your instructions and tried loading in a test atlas into version 17 and got the same error.
The command which('rex') points to the correct release of conn.
When I click the Check ROI labels option in Setup.ROIs I see that all 132 of the ROI labels appear:
I tried debugging the code by pausing the execution at line 763 and it seems that the labels are not being read correctly by the rex function. Vermis10 is inserted for all of atlas labels, which causes the error.
I'm absolutely stumped! I've attached my conn_*.mat file. I hope you can reproduce it! I can also try on another machine and get back to you.
PS I'm using MATLAB 2016a
I ended up reverting back to the previous version to add my ROIs - however I followed your instructions and tried loading in a test atlas into version 17 and got the same error.
Error using conn_process (line 763)
duplicated ROI name test.Ver10 (Vermis 10)
duplicated ROI name test.Ver10 (Vermis 10)
The command which('rex') points to the correct release of conn.
When I click the Check ROI labels option in Setup.ROIs I see that all 132 of the ROI labels appear:
test.FP r (Frontal Pole Right)
test.FP l (Frontal Pole Left)
...
test.Ver10 (Vermis10).
test.FP l (Frontal Pole Left)
...
test.Ver10 (Vermis10).
I tried debugging the code by pausing the execution at line 763 and it seems that the labels are not being read correctly by the rex function. Vermis10 is inserted for all of atlas labels, which causes the error.
I'm absolutely stumped! I've attached my conn_*.mat file. I hope you can reproduce it! I can also try on another machine and get back to you.
PS I'm using MATLAB 2016a
Threaded View
| Title | Author | Date |
|---|---|---|
| Shady El Damaty | Nov 1, 2016 | |
| Alfonso Nieto-Castanon | Nov 2, 2016 | |
| Shady El Damaty | Nov 2, 2016 | |
| Alfonso Nieto-Castanon | Nov 3, 2016 | |
| Shady El Damaty | Nov 3, 2016 | |
| Alfonso Nieto-Castanon | Nov 4, 2016 | |
| Theresa Desrochers | Dec 8, 2016 | |
| Shady El Damaty | Nov 11, 2016 | |
| Shady El Damaty | Nov 12, 2016 | |
