src/hg/encode/encodeValidate/doEncodeValidate.pl 1.188
1.188 2009/07/23 18:08:57 larrym
use $submitPath instead of $submitDir when determining the encode pipeline instance
Index: src/hg/encode/encodeValidate/doEncodeValidate.pl
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/encode/encodeValidate/doEncodeValidate.pl,v
retrieving revision 1.187
retrieving revision 1.188
diff -b -B -U 4 -r1.187 -r1.188
--- src/hg/encode/encodeValidate/doEncodeValidate.pl 13 Jul 2009 22:34:16 -0000 1.187
+++ src/hg/encode/encodeValidate/doEncodeValidate.pl 23 Jul 2009 18:08:57 -0000 1.188
@@ -1841,11 +1841,11 @@
close(FILE_RA);
close(README);
doTime("done out files") if $opt_timing;
-if($submitDir =~ /(\d+)$/) {
+if($submitPath =~ /(\d+)$/) {
my $id = $1;
- if(dirname($submitDir) =~ /_(.*)/) {
+ if(dirname($submitPath) =~ /_(\w+)/) {
my $instance = $1;
# XXXX rubyDb logic s/d probably be moved to Encode.pm
my $rubyDb = HgDb->new(DB => "encpipeline_$instance");
my @tmp = keys %metadataHash;