fa1fd1e6225697d08803d99446cab7d4e0d549e9
vsmalladi
  Fri Oct 21 14:38:24 2011 -0700
Moved all python scripts from /python/programs to live in sr/hg/encode as per Kate's request for all encode programs in a common place.
diff --git python/programs/cvValidate/cvValidate python/programs/cvValidate/cvValidate
deleted file mode 100755
index 09d13b2..0000000
--- python/programs/cvValidate/cvValidate
+++ /dev/null
@@ -1,31 +0,0 @@
-#!/hive/groups/encode/dcc/bin/python
-import sys
-import argparse
-from ucscgenomics import cv
-
-class validate(object):
-	"""validation script that calls cv.validate and then puts all its errors into a list"""
-
-	def __init__(self):
-	
-		parser = argparse.ArgumentParser(description = 'Validates the controlled vocabulary file')
-		parser.add_argument('-c', '--cvPath', help='Overrides the default cv path ~/kent/src/hg/makeDb/trackDb/cv/alpha/cv.ra')
-		parser.add_argument('-p', '--protocolPath', help='Overrides the default protocol path ~/htdocsExtras/ENCODE/')
-		parser.add_argument('-n', '--nowarn', action='store_true', default=False, help='Suppress all warnings, only display breaking errors')
-		
-		args = parser.parse_args(sys.argv[1:])
-	
-		self.errors = list()
-		self.cv = cv.CvFile(args.cvPath, self.addtoerrs, args.protocolPath)	
-		self.cv.validate()
-		
-		for err in self.errors:
-			print err
-			
-	def addtoerrs(self, exception):
-		self.errors.append(exception)
-
-if __name__ == '__main__':
-    val = validate()
-
-