Browse files

Error output

  • Loading branch information...
1 parent ac710e5 commit afe6eb1fd4468bd19b5bed64b3c94ee70c0ea710 @pjotrp committed Feb 28, 2014
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/bio-table/rewrite.rb
View
6 lib/bio-table/rewrite.rb
@@ -16,9 +16,9 @@ def Rewrite::rewrite code, rowname, field
raise
end
if (fields & original != fields.uniq) and (field & original != field.uniq)
- p [:original,original]
- p [:fields,fields]
- p [:field,field]
+ $stderr.print [:original,original],"\n"
+ $stderr.print [:fields,fields],"\n"
+ $stderr.print [:field,field],"\n"
raise "You can not rewrite both field and fields!"
end
field = fields if fields != original

0 comments on commit afe6eb1

Please sign in to comment.