parameters: (self,module1,module2, string1, string2)
docstring: Searches for modules which are in both the files but whose parameters are setted at different values
docstring_summary: Searches for modules which are in both the files but whose parameters are setted at different values
docstring_tokens: Searches for modules which are in both the files but whose parameters are setted at different values
function: def module_diff(self,module1,module2, string1, string2):
          "Searches for modules which are in both the files but whose parameters are setted at different values"
          print('\nList of modules present in both the files with different parameter values\n')
          for i in module1.keys():
              for j in module2.keys():
                  if (i==j) and (i=='Processing'):
                      list= module1[i]
                      for k in range(len(list)):
                          process1=module1[i][k].split()
                          process2=module2[i][k].split()
                          if process1[0]!= process2[0]:
                              key1=process1[0]
                              key2=process2[0]
                              self._diffprocess.append( (key1,key2) )
                              
                      if len(self._diffprocess)>1:
                          print('Differences in the processing history')
                          for l,m in self._diffprocess:         
                              print(l+'  ['+string1+']')
                              print(m+'  ['+string2+']')
                              print('')
                      if len(self._diffprocess)==1:
                          self._sameprocess=self._diffprocess[0]
                                                               
                  elif ( (i==j)or (i,j)==self._sameprocess ) and (i!='Processing'):
                      for name1,value1 in module1[i]:
                          for name2,value2 in module2[j]:
                              if  (name1==name2) and (value1[1:]!=value2[1:]):
                                  print('Process: '+'"'+i+'"'+'\n'+'Module: '+'"'+name1+'"'+'\n')
                                  d=difference(self.verbose) 
                                  d.firstvalue=value1
                                  d.secondvalue=value2
                                  self.list_diff(d.firstvalue,d.secondvalue, string1, string2)
                      
          self.onefilemodules(module1,module2,'first')
          self.onefilemodules(module2,module1,'second')
function_tokens: def module_diff ( self , module1 , module2 , string1 , string2 ) : print ( '\nList of modules present in both the files with different parameter values\n' ) for i in module1 . keys ( ) : for j in module2 . keys ( ) : if ( i == j ) and ( i == 'Processing' ) : list = module1 [ i ] for k in range ( len ( list ) ) : process1 = module1 [ i ] [ k ] . split ( ) process2 = module2 [ i ] [ k ] . split ( ) if process1 [ 0 ] != process2 [ 0 ] : key1 = process1 [ 0 ] key2 = process2 [ 0 ] self . _diffprocess . append ( ( key1 , key2 ) ) if len ( self . _diffprocess ) > 1 : print ( 'Differences in the processing history' ) for l , m in self . _diffprocess : print ( l + '  [' + string1 + ']' ) print ( m + '  [' + string2 + ']' ) print ( '' ) if len ( self . _diffprocess ) == 1 : self . _sameprocess = self . _diffprocess [ 0 ] elif ( ( i == j ) or ( i , j ) == self . _sameprocess ) and ( i != 'Processing' ) : for name1 , value1 in module1 [ i ] : for name2 , value2 in module2 [ j ] : if ( name1 == name2 ) and ( value1 [ 1 : ] != value2 [ 1 : ] ) : print ( 'Process: ' + '"' + i + '"' + '\n' + 'Module: ' + '"' + name1 + '"' + '\n' ) d = difference ( self . verbose ) d . firstvalue = value1 d . secondvalue = value2 self . list_diff ( d . firstvalue , d . secondvalue , string1 , string2 ) self . onefilemodules ( module1 , module2 , 'first' ) self . onefilemodules ( module2 , module1 , 'second' )