/[webpac2]/trunk/bin/isi-download-results.pl
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/bin/isi-download-results.pl

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1299 by dpavlin, Sat Sep 19 23:37:55 2009 UTC revision 1300 by dpavlin, Sat Sep 19 23:49:04 2009 UTC
# Line 10  our $q = 'AD=Croatia'; Line 10  our $q = 'AD=Croatia';
10  my $range_size = 500;  my $range_size = 500;
11  my $overlap    = 3; # between previous and this range  my $overlap    = 3; # between previous and this range
12  my $skip_results = 1;  my $skip_results = 1;
13    my $cites_by_year = 1;
14    
15  my $max_cites = 5000; # ISI limit to get cites  my $max_cites = 5000; # ISI limit to get cites
16    
# Line 170  sub years { Line 171  sub years {
171    
172          my @y = sort keys %$years;          my @y = sort keys %$years;
173    
174            @ranges = ();
175    
176            if ( $cites_by_year ) {
177                    push @ranges, [ $_ ] foreach @y;
178                    warn "# cites_by_year ranges ", dump @ranges;
179                    return;
180            }
181    
182          my $y = shift @y;          my $y = shift @y;
183          my $size = $years->{$y};          my $size = $years->{$y};
184    
         @ranges = ();  
185          my $cites_range;          my $cites_range;
186          $cites_range = [$y] if $y;          $cites_range = [$y] if $y;
187    

Legend:
Removed from v.1299  
changed lines
  Added in v.1300

  ViewVC Help
Powered by ViewVC 1.1.26