code: def importcmd(self, image_path, input_source):
      '''import will import (stdin) to the image
  
         Parameters
         ==========
         image_path: path to image to import to. 
         input_source: input source or file
         import_type: if not specified, imports whatever function is given
         
      '''
      from spython.utils import check_install
      check_install()
  
      cmd = ['singularity', 'image.import', image_path, input_source]
      output = self.run_command(cmd, sudo=False)
      self.println(output)        
      return image_patf importcmd(self, image_path, input_source):
      '''import will import (stdin) to the image
  
         Parameters
         ==========
         image_path: path to image to import to. 
         input_source: input source or file
         import_type: if not specified, imports whatever function is given
         
      '''
      from spython.utils import check_install
      check_install()
  
      cmd = ['singularity', 'image.import', image_path, input_source]
      output = self.run_command(cmd, sudo=False)
      self.println(output)        
      return image_path
docs: import will import (stdin) to the image
  
         Parameters
         ==========
         image_path: path to image to import to. 
         input_source: input source or file
         import_type: if not specified, imports whatever function is given