Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Oops

  • Loading branch information...
commit aaae91aa94db57c1710eddc68fcd63fcbec529ee 1 parent c176310
@pjotrp authored
Showing with 2 additions and 1 deletion.
  1. +1 −0  lib/bio-table/filter.rb
  2. +1 −1  lib/bio-table/rewrite.rb
View
1  lib/bio-table/filter.rb
@@ -17,6 +17,7 @@ def [] index
field = @fields[index]
@values[index] = (Filter::valid_number?(field) ? field.to_f : nil )
end
+ @values[index].freeze
@values[index]
end
View
2  lib/bio-table/rewrite.rb
@@ -7,6 +7,7 @@ def Rewrite::rewrite code, rowname, field
fields = field.dup
original = field.dup
values = LazyValues.new(field)
+ value = values
return rowname,field if not code or code==""
begin
eval(code)
@@ -20,7 +21,6 @@ def Rewrite::rewrite code, rowname, field
p [:field,field]
raise "You can not rewrite both field and fields!"
end
- exit
field = fields if fields != original
return rowname,field
end
Please sign in to comment.
Something went wrong with that request. Please try again.