lib/seqtrimnext/plugins/plugin_indeterminations.rb in seqtrimnext-2.0.59 vs lib/seqtrimnext/plugins/plugin_indeterminations.rb in seqtrimnext-2.0.60
- old
+ new
@@ -98,10 +98,10 @@
#puts "ok"
a = seq.new_action(poly['begin'],poly['end'],type)
a.right_action=true
actions.push a
- if @params.get_param('middle_indetermination_rejects')=='true'
+ if @params.get_param('middle_indetermination_rejects').to_s=='true'
seq.seq_rejected=true
seq.seq_rejected_by_message='Indeterminations in middle of sequence'
end
poly_size=poly['end']-poly['begin']+1