original_docstring: 
          Returns 2 strings with HTML code
          
docstring: Returns 2 strings with HTML code
docstring_tokens: Returns 2 strings with HTML code
code: def webdata(self):
          """
          Returns 2 strings with HTML code
          """
  
          we = self.settings.Engine3D()
  
          b1,b2,bb1,bb2,i = '','','','',1
          MaxGeoms, n_Freq = 0, 0
          b1s = []
          for step in self.steps:
              MaxGeoms = max(MaxGeoms,len(step.geoms))
              if step.vector:
                  n_Freq = i
              self.settings.subcounter += 1
              step.statfile = self.settings.real_path('.stat')
              b1, b2 = step.webdata(StartApplet=False)
              labeltext = '%s: %s' %(step.JobType,step.lot)
              b1s.append([b1,labeltext.upper()])
              bb2 += b2
              i += 1
  
          if b1s:
              bb1 = we.JMolApplet(ExtraScript = b1s[n_Freq-1][0])
              if MaxGeoms > 1:
                  bb1 += Tools.HTML.brn + we.html_geom_play_controls()
              if n_Freq:
                  bb1 += Tools.HTML.brn + we.html_vibration_switch()
              if len(b1s)>1:
                  bb1 += Tools.HTML.brn * 2
                  # add buttons for each step
                  for b1 in b1s:
                      bb1 += we.html_button(*b1)
  
          log.debug('webdata generated successfully')
          return bb1, bb2
code_tokens: def webdata ( self ) : we = self . settings . Engine3D ( ) b1 , b2 , bb1 , bb2 , i = '' , '' , '' , '' , 1 MaxGeoms , n_Freq = 0 , 0 b1s = [ ] for step in self . steps : MaxGeoms = max ( MaxGeoms , len ( step . geoms ) ) if step . vector : n_Freq = i self . settings . subcounter += 1 step . statfile = self . settings . real_path ( '.stat' ) b1 , b2 = step . webdata ( StartApplet = False ) labeltext = '%s: %s' % ( step . JobType , step . lot ) b1s . append ( [ b1 , labeltext . upper ( ) ] ) bb2 += b2 i += 1 if b1s : bb1 = we . JMolApplet ( ExtraScript = b1s [ n_Freq - 1 ] [ 0 ] ) if MaxGeoms > 1 : bb1 += Tools . HTML . brn + we . html_geom_play_controls ( ) if n_Freq : bb1 += Tools . HTML . brn + we . html_vibration_switch ( ) if len ( b1s ) > 1 : bb1 += Tools . HTML . brn * 2 for b1 in b1s : bb1 += we . html_button ( * b1 ) log . debug ( 'webdata generated successfully' ) return bb1 , bb2
short_docstring: Returns 2 strings with HTML code
short_docstring_tokens: Returns 2 strings with HTML code
comment: """
          Returns 2 strings with HTML code
          """$SEP$# add buttons for each step