From 43e720c411f9b7ec1b11fc38c41c545200a47a5c Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 12 Dec 2010 02:04:51 +0000 Subject: [PATCH] layout/data2safety: when constructing SegmentInfo.pname, sort movfeats into alphabetical order --- layout/data2safety | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layout/data2safety b/layout/data2safety index 3ea2cca..3fd179e 100755 --- a/layout/data2safety +++ b/layout/data2safety @@ -650,7 +650,7 @@ sub writeout () { $ourinter= $segr->{Inter}; for ($comb=0; $comb < $segr->{Posns}; $comb++) { $pi=''; - foreach $feat (keys %{ $segr->{Feats} }) { + foreach $feat (sort keys %{ $segr->{Feats} }) { $featv= $segr->{Feats}{$feat}; next if exists $featv->{Fixed}; $pi.= sprintf("%s%d", $feat, -- 2.30.2