Skip to content

Commit

Permalink
Add slight delay in generate network when extra_lems_components present
Browse files Browse the repository at this point in the history
  • Loading branch information
pgleeson committed Feb 20, 2024
1 parent c2de4a4 commit e24f06f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions neuromllite/NetworkGenerator.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
import numpy as np
import os
import random
import time

import lems.api as lems # from pylems

Expand Down Expand Up @@ -913,6 +914,7 @@ def generate_neuroml2_from_network(

if len(extra_lems_components.components) > 0:
extra_lems_components.export_to_file(extra_lems_file)
time.sleep(0.5)

if validate and format == "xml":
from pyneuroml import pynml
Expand Down

0 comments on commit e24f06f

Please sign in to comment.