code: def archive(self):
          
  
          # Traverse the model directory deleting symlinks, zero length files
          # and empty directories
          for path, dirs, files in os.walk(self.work_path, topdown=False):
              for f_name in files:
                  f_path = os.path.join(path, f_name)
                  if os.path.islink(f_path) or os.path.getsize(f_path) == 0:
                      os.remove(f_path)
              if len(os.listdir(path)) == 0:
                  os.rmdir(path)
docs: Store model output to laboratory archive.