Changeset 272
- Timestamp:
- 10/03/09 11:41:34 (2 months ago)
- Files:
-
- lib/runlog.pm (modified) (9 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
lib/runlog.pm
r271 r272 77 77 78 78 my %SEEN; 79 my $CWD = Cwd::getcwd();80 79 81 80 #------------------------------------------------------------------------------- … … 108 107 print STDERR "\n\n\n--Next Contig--\n\n" unless($main::quiet); 109 108 110 $ CWD= $self->{CTL_OPTIONS}->{CWD};109 $self->{CWD} = $self->{CTL_OPTIONS}->{CWD}; 111 110 my $min_contig = $self->{CTL_OPTIONS}->{min_contig}; 112 111 my $length = $self->{params}->{seq_length}; … … 149 148 my $self = shift; 150 149 150 my $CWD = $self->{CWD}; 151 151 my $the_void = $self->{params}->{the_void}; 152 152 my %CTL_OPTIONS = %{$self->{CTL_OPTIONS}}; … … 213 213 $new =~ s/^$cwd\/*//; 214 214 215 #temp lamprey216 $old =~ s/^\/*scratch\/serial[^\/]*\/u0045039\/lamprey2\/*//;217 $new =~ s/^\/*scratch\/serial[^\/]*\/u0045039\/lamprey2\/*//;218 219 215 #only continue if change not already happening 220 216 #because of a new gff3 file … … 266 262 $log_val = 1; 267 263 } 264 265 #temp lamprey 266 $log_val =~ s/^\/*scratch\/serial[^\/]*\/u0045039\/lamprey2\/*//; 267 $ctl_val =~ s/^\/*scratch\/serial[^\/]*\/u0045039\/lamprey2\/*//; 268 268 269 269 #if previous log options are not the same as current control file options … … 377 377 print STDERR "MAKER WARNING: The file $key\n". 378 378 "did not finish on the last run and must be erased\n"; 379 #temp lamprey 380 $key =~ s/^\/*scratch\/serial[^\/]*\/u0045039\/lamprey2\/*//; 381 379 382 push(@files, $key); 380 383 … … 601 604 my $self = shift; 602 605 606 my $CWD = $self->{CWD}; 603 607 my $log_file = $self->{file_name}; 604 608 … … 610 614 611 615 #log control file options 612 my $cwd = ($CWD) ? $CWD : Cwd::getcwd();616 my $cwd = ($CWD) ? $CWD : Cwd::getcwd(); 613 617 614 618 foreach my $key (@ctl_to_log) { … … 639 643 my $value = shift; 640 644 645 my $CWD = $self->{CWD}; 641 646 my $log_file = $self->{file_name}; 642 647 my $cwd = ($CWD) ?$CWD : Cwd::getcwd();
