CollateX: no ranks if nonlinear
[scpubgit/stemmatology.git] / lib / Text / Tradition / Parser / CollateX.pm
index 474d3ff..62123fe 100644 (file)
@@ -167,7 +167,7 @@ sub parse {
     populate_witness_path( $tradition );
 
     # Rank the readings.
-    $collation->calculate_ranks();
+    $collation->calculate_ranks() if $collation->linear;
 }
     
 =head1 BUGS / TODO