lib/genevalidator/query.rb in genevalidator-1.6.12 vs lib/genevalidator/query.rb in genevalidator-2.1.3
- old
+ new
@@ -20,10 +20,10 @@
@protein_translation = nil
@nucleotide_rf = nil
end
def protein_translation
- (@type == :protein) ? raw_sequence : @protein_translation
+ @type == :protein ? raw_sequence : @protein_translation
end
##
# Initializes the corresponding attribute of the sequence
# with respect to the column name of the tabular blast output