From: Tara L Andrews Date: Fri, 13 Jul 2012 10:58:33 +0000 (+0200) Subject: turn off consistency checks while rebuilding graph X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=b6f13859db62b74f7fd0363c7d93eebdb333bde0;p=scpubgit%2Fstemmatology.git turn off consistency checks while rebuilding graph --- diff --git a/lib/Text/Tradition/Collation/RelationshipStore.pm b/lib/Text/Tradition/Collation/RelationshipStore.pm index d3ca9bf..a5a9529 100644 --- a/lib/Text/Tradition/Collation/RelationshipStore.pm +++ b/lib/Text/Tradition/Collation/RelationshipStore.pm @@ -1029,6 +1029,7 @@ sub rebuild_equivalence { $self->_clear_equivalence; $self->_clear_eqreadings; + $self->collation->tradition->_init_done(0); # Add the readings foreach my $r ( $self->collation->readings ) { my $rid = $r->id; @@ -1049,6 +1050,7 @@ sub rebuild_equivalence { next unless $relobj && $relobj->colocated; $self->_make_equivalence( @$rel ); } + $self->collation->tradition->_init_done(1); } =head2 equivalence_ranks