src/hg/encode/encodeValidate/doEncodeValidate.pl 1.194

1.194 2009/09/19 07:44:15 tdreszer
Fix a bug when no 'validationSettings' are provided.
Index: src/hg/encode/encodeValidate/doEncodeValidate.pl
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/hg/encode/encodeValidate/doEncodeValidate.pl,v
retrieving revision 1.193
retrieving revision 1.194
diff -b -B -U 4 -r1.193 -r1.194
--- src/hg/encode/encodeValidate/doEncodeValidate.pl	10 Sep 2009 23:16:15 -0000	1.193
+++ src/hg/encode/encodeValidate/doEncodeValidate.pl	19 Sep 2009 07:44:15 -0000	1.194
@@ -1139,8 +1139,11 @@
                 }
             }
         }
     }
+    if( scalar(@_) > 1 ) {
+	return "";
+    }
     return 0;
 }
 
 ############################################################################