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

Diff of /FigKernelPackages/model.pm

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

revision 1.5, Mon May 21 20:23:27 2007 UTC revision 1.6, Mon May 21 21:46:47 2007 UTC
# Line 2800  Line 2800 
2800          rmtree("$scenario_dir_genome/$path");          rmtree("$scenario_dir_genome/$path");
2801      }      }
2802    
2803      # create placeholder subdirs for each genome-specific path, with the same name      # create soft links for each genome-specific path, with the same name
2804      # as the path in the "All" directory      # as the path in the "All" directory
2805      map { mkdir "$scenario_dir_genome/$_" } @genome_paths;      foreach my $path (@genome_paths)
2806        {
2807            my $temp_sdg = $scenario_dir_genome;
2808            $temp_sdg =~ s/\(/\\\(/g;
2809            $temp_sdg =~ s/\)/\\\)/g;
2810            my $temp_sda = $scenario_dir_all;
2811            $temp_sda =~ s/\(/\\\(/g;
2812            $temp_sda =~ s/\)/\\\)/g;
2813            `ln -s $temp_sda/$path $temp_sdg`;
2814        }
2815    
2816      return \@genome_paths;      return \@genome_paths;
2817  }  }

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3