def spawn_short(df, short, long):

  enum = df.get_enum()

  for e in xrange(enum):
    l = df.get_edge_length(e)
    if l>long:
      try:
        df.split_edge(e, minimum_length=short)
      except __HOLE__:
        pass
dataset/ETHPy150Open inconvergent/differential-line/modules/growth.py/spawn_short