[Simnibs-discuss] CRITICAL: Uncaught exception

Oula Puonti oulap at drcmr.dk
Thu Feb 9 14:23:00 CET 2023


Hi Ramtin,

You probably have an extra singleton dimension in your input scan,
i.e., the last 1 in the shape.

If you remove that from the input, simnibs should run fine. I'll fix
this bug in a future release.

Best,
Oula


On Thu, 2023-02-09 at 10:11 +0000, Ramtin Mehraram wrote:
> Dear all,
>  
> I encounter this error when trying to perform a segmentation:
>  
> [ simnibs ]CRITICAL: Uncaught exception
> ValueError: could not broadcast input array from shape (256,256,182)
> into shape (256,256,182,1)
>  
> Does this look any familiar to you?
>  
>  
> Thank you,
> Ramtin
>  
> Ramtin Mehraram, Ph.D.
> Postdoc at Experimental Oto-rhino-laryngology (ExpORL) Research
> Group.
> Department of Neurosciences
> KU Leuven
>  
> Phone+32 16 37 92 78
> Emailramtin.mehraram at kuleuven.be
> Herestraat 49 bus 721, B-3000 Leuven, Belgium
>  
> Title: LinkedIn - Description: image of LinkedIn iconTitle: Twitter -
> Description: image of Twitter icon 
>  
> 
>  
>  
> _______________________________________________
> Simnibs-discuss mailing list
> Simnibs-discuss at drcmr.dk
> https://mailman.drcmr.dk/mailman/listinfo/simnibs-discuss



More information about the Simnibs-discuss mailing list