Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Stack trace on --debug

  • Loading branch information...
commit a78c1dbaf58dc3c04dc16ed271fdb5815ad7be81 1 parent 7050cfe
Pjotr Prins authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/bio-table/validator.rb
4 lib/bio-table/validator.rb
View
@@ -15,8 +15,8 @@ def Validator::valid_header? header, old_header
def Validator::valid_row? line_number, fields, last_fields
return false if fields == nil or fields.size == 0
if last_fields and last_fields.size>0 and (fields.size != last_fields.size)
- p last_fields
- p fields
+ $stderr.puts last_fields
+ $stderr.puts fields
throw "Number of fields diverge in line #{line_number} (size #{fields.size}, expected #{last_fields.size})"
end
true
Please sign in to comment.
Something went wrong with that request. Please try again.