Skip to content
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

ZMT zurich med tech

  1. Home
  2. Sim4Life
  3. Simulations & Solvers
  4. Pop-up Alert Stops Stimulation

Pop-up Alert Stops Stimulation

Scheduled Pinned Locked Moved Simulations & Solvers
3 Posts 2 Posters 305 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    guillem
    wrote on last edited by
    #1

    With the new update from S4L v7, whenever I run a neuron simulation after the EM simulation in the script by executing "simNeuro.RunSimulation()", a pop up window stops the scripts saying: "Unable to save document while analysis algorithms are being evaluated and/or scheduled. Please wait for all tasks to be finished or stop all active tasks before saving simulation under different name."

    It is annoying since it stops the script until I click "Ok", and then it continues normally. I would like to access the S4L function, but it does not seems accessible. Any idea on how to solve this bug?

    Thanks a lot!

    1 Reply Last reply
    0
    • H Offline
      H Offline
      Habib
      ZMT
      wrote on last edited by
      #2

      Hello Guillem,

      Could you please provide a simplified version of your scripts where the issue can be reproduced? Please also try to run one of the tutorial scripts, e.g,, the monopole stimulation. This tutorial runs an EM simulation followed by a neuron simulation, and it works just fine.

      You may be introducing some additional unnecessary steps in your script that are resulting in the issue you described.

      One idea to try is to wait for the EM solver to finish before starting the next step. In Python, this can be done by passing the boolean argument "wait" to the run function: EM_sim.RunSimulation(wait=True).

      Best,
      Habib

      G 1 Reply Last reply
      0
      • H Habib

        Hello Guillem,

        Could you please provide a simplified version of your scripts where the issue can be reproduced? Please also try to run one of the tutorial scripts, e.g,, the monopole stimulation. This tutorial runs an EM simulation followed by a neuron simulation, and it works just fine.

        You may be introducing some additional unnecessary steps in your script that are resulting in the issue you described.

        One idea to try is to wait for the EM solver to finish before starting the next step. In Python, this can be done by passing the boolean argument "wait" to the run function: EM_sim.RunSimulation(wait=True).

        Best,
        Habib

        G Offline
        G Offline
        guillem
        wrote on last edited by
        #3

        Dear @habib,

        Just to inform you that has been solved the bug which was causing this pop-up window to appear, and which stopped the script from continuing until the "Ok" button was pressed:

        bug.JPG

        However, this bug was caused by the code line, which appears in the image:

        "analysis.RefreshViewers()"

        With the new S4L v7.0, this line caused this bug for some reason. After removing it, it was possible to avoid that pop-up window. Just to highlight that finding this bug costed 10+ hours, due to the new update.

        Best,
        Guillem

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Search