DESC icon indicating copy to clipboard operation
DESC copied to clipboard

RecursionError when attempting to plot coilset within DESC

Open jmathewson1869 opened this issue 1 year ago • 1 comments

After loading a makegrid coilset from a VMEC input I am able to solve for an equilibrium(that is incorrect), however when I attempt to plot the coilset, it gives me the error shown. Any help would be much appreciated.

DESC_GABRIEL_ROT_ELLIPSE.md

jmathewson1869 avatar Aug 15 '24 20:08 jmathewson1869

coil_sym = r"coils.rotatingellipse"

field = MixedCoilSet.from_makegrid_coilfile(coil_sym,method='linear')

plot_coils(coil_sym)

it looks like you're trying to plot the string coil_sym not the actual loaded coilset field (though we could probably make a better error message)

f0uriest avatar Aug 16 '24 03:08 f0uriest

@jmathewson1869 did this resolve your issue? If you plot the field and not the string coil_sym it should work

dpanici avatar Aug 20 '24 17:08 dpanici

Sorry to just be seeing this. Have been busy with my other job. But yes this works! Thank you for the help.

On Tue, Aug 20, 2024 at 11:47 AM Dario Panici @.***> wrote:

@jmathewson1869 https://github.com/jmathewson1869 did this resolve your issue? If you plot the field and not the string coil_sym it should work

— Reply to this email directly, view it on GitHub https://github.com/PlasmaControl/DESC/issues/1195#issuecomment-2299412490, or unsubscribe https://github.com/notifications/unsubscribe-auth/A27HG7QSKRFDC3DMLBONBG3ZSN6J7AVCNFSM6AAAAABMS3GQTGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOJZGQYTENBZGA . You are receiving this because you were mentioned.Message ID: @.***>

jmathewson1869 avatar Aug 20 '24 18:08 jmathewson1869