Permalink
Browse files

fixed bug: dont run filterFunc twice

  • Loading branch information...
1 parent a96dd7d commit 6143a57f75ac1b97a4b34bb4f0160e21dd71c4a0 @cjlee112 committed Apr 12, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 phenoseq/analyze.py
View
@@ -169,7 +169,7 @@ def read_tag_files(tagFiles, tagfunc=get_filestem, filterFunc=filter_snps,
if replicatefunc:
repFiles = replicatefunc(tag)
snps = list(filterFunc(snps, repFiles, *args))
- if filterFunc:
+ elif filterFunc:
snps = list(filterFunc(snps, *args))
l += snps
return l

0 comments on commit 6143a57

Please sign in to comment.