Home Forums Nazca Questions and Answers Mandatory xsections

Tagged: 

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #6505
    iv_tern
    Member

    Hello, I’m updating some code from 0.5.8 to work with 0.5.13. It seems that defining xsections is now mandatory? The code doesn’t run, giving an error ‘No xsection under xsection name ‘None”. Is there any workaround this, short of rewriting the entire code? Adding nd.add_xsection(name=’None’) doesn’t change anything.

    #6507
    Xaveer
    Moderator

    Dear iv_tern,

    Could you please provide a minimum example that generates the error you get?

    Xaveer

    #6512
    Ronald
    Keymaster

    This, for example, works just fine. Also in 0.5.13.

    import nazca as nd
    nd.bend().put()

    It automatically creates a default xsection = “nazca”, as in earlier releases.

    Ronald

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.