Home Forums Nazca Questions and Answers Nazca reset within the same interpreter

Tagged: , , , ,

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #6085
    Dima
    Participant

    is based in Eindhoven

    Dear Nazca authors,

    Thank you for the great tool which is very helpful.

    I am setting up automated testing of a project (openepda.org), and it requires running a clean nazca configuration in every test: so that e.g. I can add same layers, create cells, etc. multiple times without errors (“layer already exists”) or other actions (“Duplicate cells name” followed by the cell rename).  Therefore an option to reset nazca state would be good (clear all the configuration dictionaries, settings, cell lists, layer lists). If there such option now?

    Best regards,  Dima.

    #6089
    Ronald
    Keymaster

    Dear Dima,

    Will this help, inserted at the top of your file?

    from IPython import get_ipython
    get_ipython().magic('reset -sf')

    Ronald

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