sub parse {
my( $tradition, $opts ) = @_;
- my $graph_data = graphml_parse( $opts );
+ my( $graph_data ) = graphml_parse( $opts );
my $collation = $tradition->collation;
# First add the readings to the graph.
}
my %node_data = %$n;
my $gnode_args = {
- 'collation' => $collation,
'id' => delete $node_data{$IDKEY},
'text' => delete $node_data{$CONTENTKEY},
};
# Rank the readings.
$collation->calculate_ranks() if $collation->linear;
+
+ # Save the text for each witness so that we can ensure consistency
+ # later on
+ $tradition->collation->text_from_paths();
}
=head1 BUGS / TODO