Commits

Anonymous committed 5134e6a

Fixed a small bug that causes randomForest part of compute.py to have trouble.

  • Participants
  • Parent commits 2c0ec3c

Comments (0)

Files changed (1)

src/score_pfms.py

 	
 	with open('pfm_scorefile.txt','w') as outf:
 		## write the header first
-		outf.write('\t'.join(motifs+['Class'])+'\n')
+		outf.write('\t'.join(motifs+['class'])+'\n')
 		## write scores positive and negative classes
 		seqs = read_fasta(fastafile)
 		res = score_sequences(seqs,motifs,pfms,pval)