code: def fix_sec_nseg(secs, dL):
      
  
      for secName in secs:
          secs[secName]['geom']['nseg'] = 1 + 2 * int(secs[secName]['geom']['L'] / (2*dL))
docs: Set nseg of sections based on dL param: section.nseg = 1 + 2 * int(section.L / (2*dL))
      :param secs: netpyne dictionary with all sections 
      :param dL: dL from config file