diff CADDSuite-1.6/galaxyconfigs/confFiles.py @ 10:eda78e0f5df6 draft default tip

Deleted selected files
author marcel
date Sun, 30 Nov 2014 03:46:08 -0500
parents 488032d372e1
children
line wrap: on
line diff
--- a/CADDSuite-1.6/galaxyconfigs/confFiles.py	Sat Dec 15 13:16:40 2012 -0500
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,32 +0,0 @@
-# -*- coding: utf-8 -*-
-"""
-XML format classes
-"""
-import data
-import logging
-from galaxy.datatypes.sniff import *
-import commands
-
-log = logging.getLogger(__name__)
-
-
-class ini( data.Text ):
-	file_ext = "ini"
-	def sniff( self, filename ):
-		self.no_sections = commands.getstatusoutput("grep -c \"\[Docking-Settings\]\" "+filename)
-		if (self.no_sections[0] == 0) & (self.no_sections[1] > 0):
-			return True
-		else:
-			self.no_sections = commands.getstatusoutput("grep -c \"\[ReferenceArea\" "+filename)
-			if (self.no_sections[0] == 0) & (self.no_sections[1] > 0):
-				return True
-			else:
-				self.no_sections = commands.getstatusoutput("grep -c \"\[PharmacophoreConstraint\" "+filename)
-				if (self.no_sections[0] == 0) & (self.no_sections[1] > 0):
-					return True
-				else:
-					return False
-
-
-
-