turn off consistency checks while rebuilding graph
Tara L Andrews [Fri, 13 Jul 2012 10:58:33 +0000 (12:58 +0200)]
lib/Text/Tradition/Collation/RelationshipStore.pm

index d3ca9bf..a5a9529 100644 (file)
@@ -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