def blocks(self):
     """ Return a list of selected Block objects
     """
     if self.block_cache is None:
         self.block_cache = [NeoDataProvider.get_block(b[1], b[0])
                        for b in self.data['blocks']]
     return self.block_cache
 def blocks(self):
     """ Return a list of selected Block objects
     """
     if self.block_cache is None:
         self.block_cache = []
         for b in self.data['blocks']:
             cl = None
             rp = None
             if len(b) > 2:
                 cl = self.find_io_class(b[2])
             if len(b) > 3:
                 rp = b[3]
             self.block_cache.append(NeoDataProvider.get_block(
                 b[1], b[0], force_io=cl, read_params=rp))
     return self.block_cache
 def blocks(self):
     """ Return a list of selected Block objects
     """
     if self.block_cache is None:
         self.block_cache = []
         for b in self.data['blocks']:
             cl = None
             rp = None
             if len(b) > 2:
                 cl = self.find_io_class(b[2])
             if len(b) > 3:
                 rp = b[3]
             self.block_cache.append(
                 NeoDataProvider.get_block(b[1],
                                           b[0],
                                           force_io=cl,
                                           read_params=rp))
     return self.block_cache