]> git.donarmstrong.com Git - biopieces.git/blobdiff - bp_bin/patscan_seq
refactoring of ruby code converting sequences types to symbols
[biopieces.git] / bp_bin / patscan_seq
index bc07fcaf792f832875079832132695ef7f3cd1b9..089954ddb6de2893d15e604fbf12ef073cc3099b 100755 (executable)
@@ -50,7 +50,7 @@ class Patscan
     args = []
     args << "scan_for_matches"
     args << "-c"            if comp
-    args << "-p"            if type == 'protein'
+    args << "-p"            if type == :protein
     args << "-n #{max_mis}" if max_mis
     args << "-m #{max_hit}" if max_hit
     args << @pat_file