External Email - Use Caution
Hi all,On 20 Dec 2022, at 04:29, daedalus39@aol.com wrote:
External Email - Use Caution
_______________________________________________Dear FreeSurfer Developers,
We are interested in implementing " mri_sclimbic_seg " from FreeSurfer 7.3.2 and are having trouble getting it to finish processing.
When I tried to run mri_sclimbic_seg. I keep getting a python error and the process never finishes. I searched through the forum and it said that this was a known error and that there was a patch. When I installed the patch I got the exact same error.
The error message is: “ValueError: operands could not be broadcast together with shapes (4,) (3,)”The link to the forum post is:We tried running it on the test subject “bert” just to make sure the issue is not with our test scan and I got the same error.
We are getting the error even after installing the patch. Here are the details of the command line I used to run it and the error message:Command line:mri_sclimbic_seg --s bert --o /usr/local/freesurfer/7.3.2-1/subjects/bert/mri/mri_sclimbic_seg.mgz --write_volumes --write_qa_statError:Traceback (most recent call last):File "/usr/local/freesurfer/7.3.2-1/python/scripts/mri_sclimbic_seg", line 1049, in <module>main()File "/usr/local/freesurfer/7.3.2-1/python/scripts/mri_sclimbic_seg", line 232, in mainsegmenter.process_files(**params)File "/usr/local/freesurfer/7.3.2-1/python/scripts/mri_sclimbic_seg", line 578, in process_filespost, seg, vox_counts, volumes, mean_probs = self.segment(image)File "/usr/local/freesurfer/7.3.2-1/python/scripts/mri_sclimbic_seg", line 498, in segmentconformed = self.preprocess(image)File "/usr/local/freesurfer/7.3.2-1/python/scripts/mri_sclimbic_seg", line 490, in preprocessprocessed = image.conform(shape=(*self.inshape, self.nchannels), voxsize=1.0, orientation='RAS', dtype='float32', copy=False)File "/usr/local/freesurfer/7.3.2-1/python/lib/python3.8/site-packages/surfa/image/framed.py", line 574, in conformconformed = conformed.reshape(shape, copy=False)File "/usr/local/freesurfer/7.3.2-1/python/lib/python3.8/site-packages/surfa/image/framed.py", line 515, in reshapedelta = (np.array(shape) - np.array(self.baseshape)) / 2ValueError: operands could not be broadcast together with shapes (4,) (3,)
We are beginning to study professional and amateur fighters, and we suspect that shearing/disruptions to the septum pellucidum may have downstream consequences to the connectivity/DTI measures in the septal nuclei, mammilary bodies, etc.
Thanks in advance for any help or comments you can provide.
Sincerely
-Randy
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Mass General Brigham Compliance HelpLine at https://www.massgeneralbrigham.org/complianceline <https://www.massgeneralbrigham.org/complianceline> .