test/rbbt/entity/test_identifiers.rb in rbbt-util-5.34.10 vs test/rbbt/entity/test_identifiers.rb in rbbt-util-5.34.11

- old
+ new

@@ -50,10 +50,10 @@ tsv.unnamed = true gene_field, count = Organism.guess_id(organism, tsv.values.collect{|l| l.last}.flatten.uniq ) tsv.key_field = key_field tsv.fields = [description_field, gene_field] descriptions = tsv.slice(description_field) - Open.write(description_file, descriptions.to_single.to_s) #unless File.exists? description_file + Open.write(description_file, descriptions.to_single.to_s) #unless File.exist? description_file values = tsv.slice(gene_field) values.identifiers = description_file mod = Module.new mod_name = Misc.camel_case(key_field.gsub(/\s+/,'_').sub(/_ID$/,''))