lib/taxon_concept_builder.rb
# TODO - add some alternate names, including at least one in another language.
# TODO - create alternate scientific names... just make sure the relation makes sense and the language_id is
# either 0 or Language.scientific.
add some alternate names, including at least one in another language.
TODO - create alternate scientific names... just make sure the relation makes sense and the language_id is
either 0 or Language.scientific.
add some alternate names including at least one in another language . TODO - create alternate scientific names ... just make sure the relation makes sense and the language_id is either 0 or Language . scientific .
def gen_canonical_name
    puts "** Enter: gen_canonical_name" if @debugging
    @cform = CanonicalForm.find_by_string(@canon) || CanonicalForm.gen(:string => @canon)
    @rcform = CanonicalForm.find_by_string(@ranked_canonical_form) || CanonicalForm.gen(:string => @ranked_canonical_form)
    @sname = Name.find_by_string(@complete) || Name.gen(:canonical_form => @cform, :ranked_canonical_form => @rcform,
      :string => @complete, :italicized => @italicized || "<i>#{@canon}</i> #{@attri}".strip)
  end
def gen_canonical_name puts "** Enter: gen_canonical_name" if @debugging @cform = CanonicalForm . find_by_string ( @canon ) || CanonicalForm . gen ( :string => @canon ) @rcform = CanonicalForm . find_by_string ( @ranked_canonical_form ) || CanonicalForm . gen ( :string => @ranked_canonical_form ) @sname = Name . find_by_string ( @complete ) || Name . gen ( :canonical_form => @cform , :ranked_canonical_form => @rcform , :string => @complete , :italicized => @italicized || "<i>#{@canon}</i> #{@attri}" . strip ) end
TODO - add some alternate names, including at least one in another language.
TODO - add some alternate names including at least one in another language .