lib/mabmapper/mab_xml/query_helper.rb in mabmapper-1.0.0.pre15 vs lib/mabmapper/mab_xml/query_helper.rb in mabmapper-1.0.0.pre16

- old
+ new

@@ -83,10 +83,10 @@ def indicator_xpath(name, value) global_negation = false options = [*value].map do |value| if value - negation = value.starts_with?('-') and value.length > 1 + negation = value.starts_with?('-') && value.length > 1 global_negation = true if negation negation ? "not(@#{name}='#{value.slice(1..-1)}')" : "@#{name}='#{value}'" end end