calculate common readings when we parse
[scpubgit/stemmatology.git] / lib / Text / Tradition / Parser / CollateX.pm
index 1ee448b..7191f7e 100644 (file)
@@ -156,7 +156,11 @@ sub parse {
     }
     
     # Rank the readings.
-    $collation->calculate_ranks() if $collation->linear;
+    $collation->calculate_common_readings(); # will implicitly rank
+
+    # Save the text for each witness so that we can ensure consistency
+    # later on
+       $tradition->collation->text_from_paths();       
 }
     
 =head1 BUGS / TODO