X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FText%2FTradition%2FParser%2FTEI.pm;h=3d5fd03543647eeb64adcd5ed19fedb6da07e81a;hb=15db7774a381c3ffff41a26bcb9f9e7bc9e65515;hp=3131774860e92c92be2b8f96de99ab0178e9a472;hpb=7d99d254df992ea1684a983e0f2c68a7ba4ce9d5;p=scpubgit%2Fstemmatology.git diff --git a/lib/Text/Tradition/Parser/TEI.pm b/lib/Text/Tradition/Parser/TEI.pm index 3131774..3d5fd03 100644 --- a/lib/Text/Tradition/Parser/TEI.pm +++ b/lib/Text/Tradition/Parser/TEI.pm @@ -189,6 +189,9 @@ sub parse { # text and identical rank that can be merged. $tradition->collation->flatten_ranks(); + # And now that we've done that, calculate the common nodes. + $tradition->collation->calculate_common_readings(); + # Save the text for each witness so that we can ensure consistency # later on $tradition->collation->text_from_paths();