sionna icon indicating copy to clipboard operation
sionna copied to clipboard

Problem with PanelArray() class show() function

Open pedrohenriiique opened this issue 3 years ago • 4 comments

Problem: In the beginner tutorial part 3: advanced link level simulations, when executing the command "UT_ARRAY.show()" the following error occurs: "Type Error: float() argument must be a string or a number, not 'MarkStyle'".

Possible solution: The error happens because in the show() function of the PanelArray() class, marker_vert and marker_horz are objects and the argument 'marker' must be a string. The possible solution is to use the get_marker() function which returns a string. This way: marker = marker_vert.get_marker() marker = marker_horz.get_marker()

Best regards, Pedro

pedrohenriiique avatar Jul 18 '22 15:07 pedrohenriiique

Hi Pedro,

Could you please provide some information about your system, i.e., OS, Python Version, TF Version, etc.? I cannot reproduce this error.

Thanks

jhoydis avatar Jul 18 '22 15:07 jhoydis

I ran the tutorial using Google Colab.

"Python 3 Google Compute Engine (GPU) Backend"

pedrohenriiique avatar Jul 18 '22 15:07 pedrohenriiique

Ok. I can reproduce the error in Colab. Will be fixed in the next release. Thanks.

jhoydis avatar Jul 18 '22 15:07 jhoydis

You're welcome.

pedrohenriiique avatar Jul 18 '22 16:07 pedrohenriiique