changeset 52:3d65329a491d

PEP8 & params for do-partition
author Michael R. Crusoe <mcrusoe@msu.edu>
date Tue, 05 Aug 2014 17:30:32 -0400
parents 3357f097d3c9
children 2c03c19808c5
files do-partition.xml gedlab.py
diffstat 2 files changed, 22 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/do-partition.xml	Sat Jul 12 17:05:57 2014 -0400
+++ b/do-partition.xml	Tue Aug 05 17:30:32 2014 -0400
@@ -26,6 +26,21 @@
 
 	<inputs>
 		<expand macro="input_sequences_filenames" />
+		<param	name="ksize"
+			type="integer"
+			value="20"
+			label="ksize"
+			help="k-mer size to use" />
+		<param	name="n_tables"
+			type="integer"
+			min="1"
+			value="4"
+			label="n_tables"
+			help="number of tables to use" />
+		<param	name="tablesize_specific"
+			type="text"
+			label="tablesize"
+			help="lower bound on the tablesize to use" />
 	</inputs>
 	<outputs>
 		<data	name="information"
--- a/gedlab.py	Sat Jul 12 17:05:57 2014 -0400
+++ b/gedlab.py	Tue Aug 05 17:30:32 2014 -0400
@@ -9,16 +9,17 @@
 
 log = logging.getLogger(__name__)
 
-class Count( Binary ):
+
+class Count(Binary):
 
-    def __init__( self, **kwd ):
-        Binary.__init__( self, **kwd )
+    def __init__(self, **kwd):
+        Binary.__init__(self, **kwd)
 
 
-class Presence( Binary ):
+class Presence(Binary):
 
-    def __init__( self, **kwd ):
-        Binary.__init__( self, **kwd )
+    def __init__(self, **kwd):
+        Binary.__init__(self, **kwd)
 
 Binary.register_unsniffable_binary_ext("ct")
 Binary.register_unsniffable_binary_ext("pt")