From f1823632c1cb60e239d3e1fa907ed02f4cb320ac Mon Sep 17 00:00:00 2001 From: Chris Fields Date: Sat, 28 Feb 2015 23:24:23 -0600 Subject: [PATCH] vent --- Bio/DB/Taxonomy/sqlite.pm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Bio/DB/Taxonomy/sqlite.pm b/Bio/DB/Taxonomy/sqlite.pm index 401625344..32611b56b 100644 --- a/Bio/DB/Taxonomy/sqlite.pm +++ b/Bio/DB/Taxonomy/sqlite.pm @@ -460,6 +460,11 @@ sub _build_index { open my $NODES, '<', $nodesfile or $self->throw("Could not read node file '$nodesfile': $!"); + # TODO: this has the really unnecessary 'OR IGNORE' option added, + # apparently b.c the test data expects to handle cases where the TaxID + # is repeated in this table (which should never happen in this table). I + # will likely change this to throw under those circumstances + my $sth = $dbh->prepare_cached(<execute($taxid, $name, $unique_name, $class) or $self->throw($sth->errstr); } -- 2.11.4.GIT