Class: AtlasDataSet
- Inherits:
- 
      SectionDataSet
      
        - Object
- ActiveRecord::Base
- DataSet
- SectionDataSet
- AtlasDataSet
 
- Defined in:
- app/models/atlas_data_set.rb
Overview
Data set of type Atlas. It inherits all the qualities of Data set.
Instance Method Summary (collapse)
- 
  
    
      - (Object) reference_images 
    
    
  
  
  
  
  
  
  
  
    only return annotated images for reference usage SPECIAL CASE: if there are no annotated images, return all the images (for Hong Wei's classic atlas). 
Methods inherited from SectionDataSet
Methods inherited from DataSet
Instance Method Details
- (Object) reference_images
only return annotated images for reference usage SPECIAL CASE: if there are no annotated images, return all the images (for Hong Wei's classic atlas)
| 12 13 14 15 | # File 'app/models/atlas_data_set.rb', line 12 def reference_images images = self.atlas_images.select {|i| i.annotated?} images.size > 0 ? images : self.atlas_images end |