Skip to content
Extraits de code Groupes Projets
Valider 76c9e0f5 rédigé par hieda_kyuko@hpr's avatar hieda_kyuko@hpr
Parcourir les fichiers

Use correct station IDs

parent f3da3dab
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -300,12 +300,16 @@ foreach my $frame (values %{ $master{'rosen'} }) ...@@ -300,12 +300,16 @@ foreach my $frame (values %{ $master{'rosen'} })
my $old_ref = MasterUtils::sta_from_id \%master, $old; my $old_ref = MasterUtils::sta_from_id \%master, $old;
if ($old_ref->{'ekimei'} eq $ekimei) if ($old_ref->{'ekimei'} eq $ekimei)
{ {
Log::i "Found $ekimei in the existing index (first found in " . $old_ref->{'found_in'} . ')'; Log::i "Found $ekimei in the existing index (first found in " . $old_ref->{'found_in'} . " with id $old)";
Log::i "Assuming this is the same station as the one processed earlier."; Log::i "Assuming this is the same station as the one processed earlier.";
push @new_ekis, $old;
$restart = 1;
last; last;
} }
} }
if ($restart) { next; }
my $id = $frame->{'id'} . "_$index"; my $id = $frame->{'id'} . "_$index";
print "Adding station $ekimei to master frame with id $id\n"; print "Adding station $ekimei to master frame with id $id\n";
$new_struct{'ekimei'} = $ekimei; $new_struct{'ekimei'} = $ekimei;
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter