Class: FishTank::Taxon::Fish

Inherits:
FishTank::Taxon show all
Defined in:
lib/fishtank/taxon/fish.rb

Instance Attribute Summary

Attributes inherited from FishTank::Taxon

#label, #stats

Instance Method Summary collapse

Methods inherited from FishTank::Taxon

#attributes, #base_for, #crunch_stats, #get_metadata, #get_nexml, #get_phenotype_total, #initialize, #iri_for, #pic_width, #some_iri, #symmetry

Constructor Details

This class inherits a constructor from FishTank::Taxon

Instance Method Details

#descriptionObject

Ugh



6
7
8
9
10
11
12
13
14
15
16
17
# File 'lib/fishtank/taxon/fish.rb', line 6

def description
  return {
    'UBERON_0001703' =>  [0, 10, 10, 10],  # 'neurocranium'
    'UBERON_0000970' =>  [3, 12, 3, 3],    # 'eye'
    'UBERON_0001708' =>  [1, 17, 5, 2],    # 'jaw skeleton'
    'UBERON_0002090' =>  [10, 10, 30, 10], # 'post-cranial axial skeleton'
    'UBERON_0003097' =>  [12, 0, 10, 10],  # 'dorsal fin'
    'UBERON_0000151' =>  [5, 20, 10, 10],  # 'pectoral fin'
    'UBERON_0000152' =>  [17, 20, 10, 10], # 'pelvic fin'
    'UBERON_4000164' =>  [30, 5, 10, 20],  # 'caudal fin'
  }
end

#pic_heightObject



19
20
21
# File 'lib/fishtank/taxon/fish.rb', line 19

def pic_height
  50
end