[Bio] / FigKernelPackages / NRTools.pm Repository:
ViewVC logotype

Diff of /FigKernelPackages/NRTools.pm

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

revision 1.3, Thu Sep 13 19:53:08 2007 UTC revision 1.4, Wed Jul 8 20:37:09 2009 UTC
# Line 34  Line 34 
34      while (defined($_ = $dh->read()))      while (defined($_ = $dh->read()))
35      {      {
36          next if /^\./;          next if /^\./;
37            next if $_ eq 'SEED';   # Ignore the export of SEED data that lives here.
38    
39          next if $options->{skip} and /$options->{skip}/;          next if $options->{skip} and /$options->{skip}/;
40          my $path = "$dir/$_";          my $path = "$dir/$_";
41          my $fasta = "$path/fasta";          my $fasta = "$path/fasta";
# Line 102  Line 104 
104  usage: @jobs = scan_rast_jobs($dir)  usage: @jobs = scan_rast_jobs($dir)
105    
106  Scan the given RAST job directory, finding all completed jobs that are marked  Scan the given RAST job directory, finding all completed jobs that are marked
107  with submit.seed == 1.  with import.candidate nonzero and import.action set to "import".
108    
109  =cut  =cut
110    
# Line 125  Line 127 
127          my $job = Job48->new("$dir/$_");          my $job = Job48->new("$dir/$_");
128          next unless $job;          next unless $job;
129          next unless $job->meta->get_metadata("status.final") eq  "complete";          next unless $job->meta->get_metadata("status.final") eq  "complete";
130          next unless $job->meta->get_metadata("submit.seed") == 1;          next unless $job->meta->get_metadata("import.candidate") > 0;
131            next unless $job->meta->get_metadata("import.action") eq 'import';
132            my $stat =  $job->meta->get_metadata('import.status');
133            next if $stat eq 'computed' or $stat eq 'installed';
134    
135          push(@$jobs, $job);          push(@$jobs, $job);
136      }      }

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3