lib/seqtrimnext/plugins/plugin_contaminants.rb in seqtrimnext-2.0.59 vs lib/seqtrimnext/plugins/plugin_contaminants.rb in seqtrimnext-2.0.60
- old
+ new
@@ -152,10 +152,10 @@
#
# puts "Before check SEQ_REJECTED= TRUE (reject= .#{reject}. #{reject.class}&& not actions empty= #{not actions.empty?} ) == #{cond_if} >>> "
- if ((not actions.empty? ) && (reject=='true'))
+ if ((not actions.empty? ) && (reject.to_s=='true'))
#reject sequence
# puts "SEQ_REJECTED= TRUE >>> "
seq.seq_rejected=true
seq.seq_rejected_by_message='contaminated'