src/hg/encode/encodeLoad/doEncodeLoad.pl 1.74

1.74 2010/03/24 18:08:00 krish
remove all README stuff
Index: src/hg/encode/encodeLoad/doEncodeLoad.pl
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/encode/encodeLoad/doEncodeLoad.pl,v
retrieving revision 1.73
retrieving revision 1.74
diff -b -B -U 4 -r1.73 -r1.74
--- src/hg/encode/encodeLoad/doEncodeLoad.pl	23 Mar 2010 03:56:31 -0000	1.73
+++ src/hg/encode/encodeLoad/doEncodeLoad.pl	24 Mar 2010 18:08:00 -0000	1.74
@@ -544,11 +544,9 @@
 
 my $tables = join("\\n", @{$pushQ->{TABLES}});
 push(@{$pushQ->{FILES}}, "/usr/local/apache/cgi-bin/encode/cv.ra");
 my $files = join("\\n", @{$pushQ->{FILES}});
-my $readmeFile = "$downloadDir/README.txt";
 my $preambleFile = "$downloadDir/preamble.html";
-push(@{$pushQ->{FILES}}, "$downloadDir/README.txt");
 push(@{$pushQ->{FILES}}, "$downloadDir/index.html");
 push(@{$pushQ->{FILES}}, "$downloadDir/preamble.html");
 
 my ($shortLabel, $longLabel);
@@ -577,27 +575,8 @@
 UNLOCK TABLES;
 _EOF_
 close(PUSHQ);
 
-#if(-e $readmeFile) {
-#    open(README, ">>$readmeFile") || die "SYS ERROR: Can't write '$readmeFile' file; error: $!\n";
-#    print README "\n";
-#} else {
-#    open(README, ">$readmeFile") || die "SYS ERROR: Can't write '$readmeFile' file; error: $!\n";
-#    print README <<END;
-#This directory contains data generated by the $daf->{grant}/$daf->{lab} lab
-#as part of the Encode project.
-#
-#Data is RESTRICTED FROM USE in publication until the restriction date
-#noted for the given data file. See the ENCODE
-#data release policy at:
-#
-#http://genome.ucsc.edu/encodeDCC/ENCODE_Consortia_Data_Release_Policy_2008-09-11.doc
-#
-#Files included in this directory:
-#
-#END
-#}
 if(! -e $preambleFile ) {
     open(PREAMBLE, ">$preambleFile") || die "SYS ERROR: Can't write '$preambleFile' file; error: $!\n";
 
     # NOTE: can remove the CHANGE-ME comment if we switch to SSI for the hostname
@@ -612,13 +591,5 @@
 in publication  until the restriction date noted for the given data file.</B></p>
 END
 }
 
-# XXXX Let wrangler add to the README.txt? Otherwise, we inevitably will add redundant
-# entries when reloading.
-
-#my $lines = Encode::readFile("out/README.txt");
-#print README join("\n", @{$lines});
-#print README "\n";
-#close(README);
-
 exit(0);