app/services/nomenclature_change/cascading_notes_processor.rb
Method descendents_for_note_cascading
has 43 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def descendents_for_note_cascading(taxon_concept)
unless [Rank::GENUS, Rank::SPECIES].include? taxon_concept.rank.try(:name)
return []
end
# if it is a genus or a species, we want taxon-level nomenclature notes,