diff options
author | Daniel Friesel <derf@finalrewind.org> | 2022-12-03 20:53:34 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2022-12-03 20:53:34 +0100 |
commit | 5eb48edb3b301a812f36f3d53ddebddfc64b9bf9 (patch) | |
tree | d0c4aea101627006b3e6ed15beb559d1655eba1e /share/json2json | |
parent | 4197aa3352ba8f8ae4e739955d711ae176feac86 (diff) |
json2json: station names are no longer considered unique
Diffstat (limited to 'share/json2json')
-rwxr-xr-x | share/json2json | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/share/json2json b/share/json2json index 4a78e80..47cb83d 100755 --- a/share/json2json +++ b/share/json2json @@ -17,12 +17,6 @@ my @ds100 = map { $_->{ds100} } sort { $a->{ds100} cmp $b->{ds100} } @{$stations}; my @eva_ids = map { $_->{eva} } sort { $a->{eva} <=> $b->{eva} } @{$stations}; -for my $i ( 1 .. $#names ) { - if ( $names[ $i - 1 ] eq $names[$i] ) { - say "Duplicate station name: $names[$i]"; - $have_duplicates = 1; - } -} for my $i ( 1 .. $#ds100 ) { if ( $ds100[ $i - 1 ] eq $ds100[$i] ) { say "Duplicate DS100 code: $ds100[$i]"; |