Common shared functions that do not fit anywhere else.
    | 
       
     | 
      
        
          checkFormat(filename) 
      Check the format of input file | 
          
            source code
            
           | 
         
       
      
     | 
  
    | 
       
     | 
      
        
          getFileid(fullpath) 
      get the md5 id of the file path fullpath - the abs path of the file 
      return - the file path | 
          
            source code
            
           | 
         
       
      
     | 
  
    | 
       
     | 
      
        
          importClass(modpath,
        modname,
        classname,
        *args) 
      Import certain class with certain inputs | 
          
            source code
            
           | 
         
       
      
     | 
  
    | 
       
     | 
      
        
          parseXYToList(filename) 
      Parse XY or XYSigma data to list | 
          
            source code
            
           | 
         
       
      
     | 
  
    | 
       
     | 
      
        
          printDebugInfo() 
      Print the information for debug | 
          
            source code
            
           | 
         
       
      
     | 
  
    | 
       
     | 
      
        
          printWarning(warningMsg) 
      Print a red warning message to the std output warningMsg : the 
      warning message to be printed | 
          
            source code
            
           | 
         
       
      
     | 
  
    | 
       
     | 
      
        
          unique(seq) 
      Get unique items from a sequence while keeping its original order | 
          
            source code
            
           | 
         
       
      
     |