|
From: <sco...@us...> - 2012-03-13 18:26:24
|
Revision: 25259
http://gmod.svn.sourceforge.net/gmod/?rev=25259&view=rev
Author: scottcain
Date: 2012-03-13 18:26:05 +0000 (Tue, 13 Mar 2012)
Log Message:
-----------
making the GFF sorter die if it fails to insert a line (so it won't be lost from the resulting sorted GFF).
Modified Paths:
--------------
schema/trunk/chado/lib/Bio/GMOD/DB/Adapter.pm
Modified: schema/trunk/chado/lib/Bio/GMOD/DB/Adapter.pm
===================================================================
--- schema/trunk/chado/lib/Bio/GMOD/DB/Adapter.pm 2012-03-09 20:29:01 UTC (rev 25258)
+++ schema/trunk/chado/lib/Bio/GMOD/DB/Adapter.pm 2012-03-13 18:26:05 UTC (rev 25259)
@@ -4688,7 +4688,7 @@
refseq varchar(4000),
id varchar(4000),
parent varchar(4000),
- gffline varchar(4000),
+ gffline varchar(8000),
row_id serial not null,
primary key(row_id)
) ");
@@ -4720,7 +4720,8 @@
my $self = shift;
my ($refseq, $id, $parent, $line) = @_;
$self->{'queries'}{'insert_gff_sort_tmp'}->execute(
- $refseq, $id, $parent, $line);
+ $refseq, $id, $parent, $line)
+ or die "Inserting into the sort table failed:$!,\nProbably due to this line: $line\n";
return;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|