Skip to content

Commit

Permalink
use hash ref instead of hash
Browse files Browse the repository at this point in the history
  • Loading branch information
Juke34 committed Jan 12, 2024
1 parent 98af8d8 commit 5f21e48
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/agat_sp_manage_IDs.pl
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,9 @@

foreach my $seqid ( sort { ncmp ($a, $b) } keys %{$hash_sortBySeq}){ # loop over all the feature level1

foreach my $tag_l1 (sort {$a cmp $b} keys %{$hash_sortBySeq{$seqid}}){
foreach my $tag_l1 (sort {$a cmp $b} keys %{$hash_sortBySeq->{$seqid}}){

foreach my $feature_l1 ( @{$hash_sortBySeq{$seqid}{$tag_l1}}){ # feature are alredy sorted by function that made that hash
foreach my $feature_l1 ( @{$hash_sortBySeq->{$seqid}{$tag_l1}}){ # feature are alredy sorted by function that made that hash
my $id_l1 = lc($feature_l1->_tag_value('ID'));
my $l1_ID_modified=undef;

Expand Down

0 comments on commit 5f21e48

Please sign in to comment.