Skip to content

Commit

Permalink
Fixes for msplicer
Browse files Browse the repository at this point in the history
  • Loading branch information
lisitsyn committed Sep 3, 2012
1 parent fd33d77 commit e7c3462
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions applications/msplicer/signal_detectors.py
Expand Up @@ -73,11 +73,11 @@ def get_predictions_from_seqdict(self, seqdic, site):
s=sequence[i-self.window_left:i+self.window_right+2]
testdat.append(s)

t=StringCharFeatures(DNA)
t.set_string_features(testdat)
t=StringCharFeatures(testdat, DNA)

self.wd_kernel.init(self.traindat, t)
l=self.svm.classify().get_labels()
self.svm.set_kernel(self.wd_kernel)
l=self.svm.apply().get_labels()
sys.stderr.write("\n...done...\n")

k=0
Expand Down

0 comments on commit e7c3462

Please sign in to comment.